can an arduino program itself?


not sure if best way describe it. let me start saying i'm total noob, have never used arduino or similar, haven't purchased 1 yet either. have spent past several hours learning them have idea of capabilities, wonder 1 thing though.

here project in nutshell. 6 relays, 7 switches. 6 of switches presets , 1 switch enter program mode. hit program switch example switch 1, allows program switch 1 hit switches 2, 4 , 5 program switch saves did. if hit switch 1 turn on relays 2, 4 , 5. reenter program mode @ time , change relays activated switch. possible? there's more that's part i'm not sure arduino can do.

i know can pic, i've seen done, know nothing them either lol. frankly arduino route appeals me more because there else can smaller learning curve understand it..

there no "program mode". there usb, pc , code. change code , reload arduino , @ end of transmission arduino resets , runs code. not mode, it's a
cycle of tasks or events. don't know of "program mode". talking program that
revolves around reads , writes eeprom, based on switch presses. program has kind of
user feedback leds or lcd, , polls switch determine when enter user input (variable values) mode after (by polling exit switch) exits program mode. whether user input stored when entered or stored after exiting program mode programmer. program running , code never changes hesitate call "program mode" because not
modifying program. more accurate name "variable modify mode" because in
fact doing modifying variables used program.

such program possible wouldn't go far trivial. have limited eeprom memory wouldn't need much. can't code others can. luck.

if serious doing first thing need change post title "user-initiated
eeprom memory storage" or "sw triggered eeprom writes" attract forum members know how (of  which not).


Arduino Forum > Using Arduino > Project Guidance > can an arduino program itself?


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code