Re: Pulling Arduino data apart

Jack, W8TEE
 

Arv:

I understand your point, but some of us are doing things with the µBITX that does cross platforms yet I still want the code to work on multiple platforms. I think Ashhar made the Raduino "detachable" for a reason, and one of those might be a different microcontroller than one from the Atmel family which uses a different programming platform. There's nothing inherent in the design that would prevent that. Indeed, I'm doing some work on several different microcontrollers, languages, OS's, and displays for the µBIT.

Also, my discussion started about using a C union data structure and some of the advantages it brings to the programmer. My experience is that many beginning programmers don't use it because they don't know how it works. I apologize that it degenerated from there.

Jack, W8TEE



From: Arv Evans <arvid.evans@...>
To: BITX20@groups.io
Sent: Saturday, March 10, 2018 11:31 AM
Subject: Re: [BITX20] Pulling Arduino data apart

Sometimes I wonder how many of those who are new to BITX, Raduino, etc.
are becoming confused by discussions of "big-endian", "little-endian", and "non-endian"
by thinking that this affects how they do programming for Ardunio boards?  While the
discussion is informative and educational it does not apply if one just wants to
use the Arduino IDE, or GCC compiler with some other IDE.  Those particular IDE's
handle the endian issue by making it a non-issue for persons using Arduino and AVR
focused tools.

Arv  K7HKL
_._


On Sat, Mar 10, 2018 at 9:17 AM, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
The Wikipedia entry is a much better starting point than my previous stackoverflow conversation:
    https://en.wikipedia.org/ wiki/Endianness
Also this, do a search for "endian":
    https://en.wikipedia.org/ wiki/Lilliput_and_Blefuscu

Jerry, KE7ER


On Fri, Mar 9, 2018 at 01:02 pm, Jerry Gaffke wrote:
Here's a starting point on web resources regarding this big/little endian stuff in case you're curious.



Join BITX20@groups.io to automatically receive all group messages.