Post Created date
AVR Mega same as PIC
Brian Fairchild wrote: the_real_seebs wrote: A lot of the PIC chips don't even have an actual C implementation...   I'm not sure what you mean by that. Just about every PIC...
Saturday, 17 November 2018 - 20:58
ATmega88PA seemingly forgetting ASCii codes when transmitting to a HD44780
Yeah, not at all sure why you're calling "itoa" on the string "test".   Also, at least with the 44780 parts I've seen, you should probably be setting the character values and...
Saturday, 17 November 2018 - 20:35
AVR Mega same as PIC
A lot of the PIC chips don't even have an actual C implementation, because their architecture is extremely hostile to C-like programming, so realistically, the answer is probably...
Friday, 16 November 2018 - 14:17
flash array of flash array function pointer
formal C answer:   you cannot safely convert function pointers to object pointers and back   you can safely convert function pointers to other types of function pointers...
Tuesday, 16 October 2018 - 03:24
is LUFA Keyboard + Mouse + virtual serial device possible
So far as I know, keyboard+mouse+serial is possible if the chip has enough endpoints, but serial needs three whole endpoints (!) just for itself, so it might be hard on some chips...
Sunday, 14 October 2018 - 16:30
Using stdin and knowning the number of characters before reading
Long story short: No, there isn't a "standard" solution, but any given platform will probably/usually have something. But not quite all; there's targets where there is genuinely...
Tuesday, 9 October 2018 - 03:10
Low level arithmetics implementation on ATmega328
On much larger machines with floating point hardware, floating point math can be faster than integer, or more importantly, doing floating point and integer math in parallel is...
Friday, 28 September 2018 - 14:22
Buffer array - proper implementation
if you can never need two things running at once, then there seems to be no reason to use dynamic allocation, and dynamic allocation/freeing imposes significant overhead.
Sunday, 23 September 2018 - 15:41
Receive string from usart from bluethooth HC-05
the first thing i noticed is that it appeared to be inconsistent whether you were using "i" or "index" as your index.   '/n' is not a newline. '\n' is a newline.  ...
Saturday, 22 September 2018 - 17:06
[ATMEGA324P] Input undetected
The macros look like they should be working, I think.   #define set_bit(byte, bit) ((byte) | (1 << (bit))) #define clear_bit(byte, bit) ((byte...
Friday, 21 September 2018 - 14:53
'Production Quality' AVR BASIC Interpreter?
I am not super fond of Python, and it's definitely an awful choice for something AVR-sized. Garbage-collected pointer-heavy languages are not a good fit.
Thursday, 13 September 2018 - 01:01
'Production Quality' AVR BASIC Interpreter?
Lua is a delightful language but WAY too big for AVR. Needs garbage collection and a fair bit of memory.
Friday, 7 September 2018 - 04:45