mbeddr.arduino
mbeddr.arduino copied to clipboard
...und if offe.. should be "it" instead of "if"
digital pins defined as outputs should be readable since the actual register value represents the state of the output
Remove the old platform description and replace it (partly) with a Implementation Module based description. In order to allow usage of common parts between all arduinos.
implement sheduler for taks that is called at the beginning of the main loop and executes the tasks when they need to.
create a serial read and write statement to read from a serial port or to write to it.
add atomic modifier for variables bigger than a CPU word. Disable interrups on write operation to this varialbes, similar to atomic blocks
split the linear code into different functions. Analyse the uses variables in the code after the wait and create global variables for these replace all referencens to the local once...
http://www.nongnu.org/avr-libc/user-manual/group__avr__eeprom.html similar to the OS memory sample in the user guide