Post Created date
main function of an AVR program
o/~  Did it ever return? No it never returned And its value is still unlearn'd It will run forever Down in the Flash RAM It's the main() that never returned...  o/~...
Tuesday, 5 January 2021 - 13:27
main function of an AVR program
And if bit 7 of R31 is not set it behaves as NOP.  So there.     S.
Monday, 4 January 2021 - 13:10
main function of an AVR program
As I recall, "running off the end of the code" in assembler causes a processor reset when it enters unprogrammed flash space.  S.   Edited to add:  Probably because...
Monday, 4 January 2021 - 00:08
intelhex file using c
Indeed.  Your address is 'FFFF' and your data is '3FF'.  Still looks all blank to me.  Or it's not reading right - which I guess is the problem.  Check the...
Sunday, 3 January 2021 - 19:14
intelhex file using c
helpme2020 wrote: need your help again , i was asked to upload the hex file created to the eprom,  and do some instructions using assembly language, but the eprom adress...
Sunday, 3 January 2021 - 18:15
Need urgent help for assignement
I have annotated your code some.   darthnatan wrote: .include "" ; This file includes lots of definitions.  For example, if you     ...
Sunday, 3 January 2021 - 17:23
Compilable scripting language for ATmega328p
Another way would be to put a bootloader into your 168, and rewrite your progmem from the NOR flash every time you want to run something else.  This is real hard on your AVR...
Friday, 1 January 2021 - 21:54
Eight contiguous memory addresses into one register
A fun way would be use multi-color LEDs.  A blue dot could 'bubble' up through red dots until it reaches its resting place, then turns green...  S.
Tuesday, 29 December 2020 - 10:55
What kind of LEDs are these? ("Twinkly" lights)
Wait until after the holidays to take it apart.  S.
Thursday, 24 December 2020 - 04:42
Fun & Games with Fixed-point Arithmetic [solved]
barnacle wrote:and *two* sign bits...   Scaling can be additive as well as multiplicative.  Stop doing signed math...     S.
Tuesday, 22 December 2020 - 07:09
Fun & Games with Fixed-point Arithmetic [solved]
ka7ehk wrote: When you have gazillion-bit floating point, gigabyte system memories. and terabyte drives, who cares about minimizing the memory foot print?   People...
Tuesday, 22 December 2020 - 04:00
What kind of LEDs are these? ("Twinkly" lights)
OldMicroGuy wrote: I was thinking of getting several of those addressable LED light strips from Amazon, they're getting pretty cheap now.  That would allow me to create (...
Sunday, 20 December 2020 - 14:16