Loading multiple sketches into Arduino
hello,
arduino can loading of 1 sketch @ time.
can combine multiple sketches subroutines/functions larger sketch , invoke appropriate subroutines "main program", example:
- single press invoke subroutine/sketch 1,
- double press invoke subroutine/sketch 2
- etc...
sorry, cant test out @ moment still waiting arduino board arrive
arduino can loading of 1 sketch @ time.
can combine multiple sketches subroutines/functions larger sketch , invoke appropriate subroutines "main program", example:
- single press invoke subroutine/sketch 1,
- double press invoke subroutine/sketch 2
- etc...
sorry, cant test out @ moment still waiting arduino board arrive

yes - provided compiled size of code doesn't exceed space on chip (30k atmega328 w/ standard bootloader, 14k atmega168 w/ standard bootloader), should ok.
btw - "with standard bootloader" because possible gain or of 2k used standard bootloader; can done using "optimized" bootloader (i think smallest 1 can make 512 bytes due hardware limitations) - need "burn" onto chip using avr isp programmer.
alternatively (since if can above avr isp programmer, have skills needed), can burn compiled hex/binary code onto atmega using such programmer, , bypass need bootloader (giving access additional memory taken bootloader).

btw - "with standard bootloader" because possible gain or of 2k used standard bootloader; can done using "optimized" bootloader (i think smallest 1 can make 512 bytes due hardware limitations) - need "burn" onto chip using avr isp programmer.
alternatively (since if can above avr isp programmer, have skills needed), can burn compiled hex/binary code onto atmega using such programmer, , bypass need bootloader (giving access additional memory taken bootloader).

Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Loading multiple sketches into Arduino
arduino
Comments
Post a Comment