omarruben Active Member Licensed User Longtime User Jan 1, 2019 #1 Hello , I have tried a few samples and they work really well, now I want to keep the code on the Arduino board, so next time I connect the power , it runs the code. I did it, but the code never runs, Am I doing some mistake? Last edited: Jan 1, 2019
Hello , I have tried a few samples and they work really well, now I want to keep the code on the Arduino board, so next time I connect the power , it runs the code. I did it, but the code never runs, Am I doing some mistake?
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2019 #2 The code is always saved on the Arduino board. There is nothing special that you need to do. Upvote 0
Cableguy Expert Licensed User Longtime User Jan 1, 2019 #3 What board are you using? Some boards require the programming state to be "defined" by hardware and then to run in normal mode, those hardware "definitions" need to be undone. Arduino does it all that in an automatical way, but boards like ESP02 do require that as a complement Upvote 0
What board are you using? Some boards require the programming state to be "defined" by hardware and then to run in normal mode, those hardware "definitions" need to be undone. Arduino does it all that in an automatical way, but boards like ESP02 do require that as a complement
tigrot Well-Known Member Licensed User Longtime User Jan 1, 2019 #4 Cableguy said: What board are you using? Some boards require the programming state to be "defined" by hardware and then to run in normal mode, those hardware "definitions" need to be undone. Arduino does it all that in an automatical way, but boards like ESP02 do require that as a complement Click to expand... They are a sort of jumper(s) or switches. Upvote 0
Cableguy said: What board are you using? Some boards require the programming state to be "defined" by hardware and then to run in normal mode, those hardware "definitions" need to be undone. Arduino does it all that in an automatical way, but boards like ESP02 do require that as a complement Click to expand... They are a sort of jumper(s) or switches.
Cableguy Expert Licensed User Longtime User Jan 1, 2019 #5 tigrot said: They are a sort of jumper(s) or switches. Click to expand... Some boards require a resistor to either vcc or ground Upvote 0
tigrot said: They are a sort of jumper(s) or switches. Click to expand... Some boards require a resistor to either vcc or ground
omarruben Active Member Licensed User Longtime User Jan 1, 2019 #6 thanks for your answers,, I have Arduino Leonardo, and using jAWTRobot https://b4x.com/android/forum/threads/jawtrobot-invoke-keyboard-and-mouse-events-etc.55832/ Upvote 0
thanks for your answers,, I have Arduino Leonardo, and using jAWTRobot https://b4x.com/android/forum/threads/jawtrobot-invoke-keyboard-and-mouse-events-etc.55832/
Cableguy Expert Licensed User Longtime User Jan 1, 2019 #7 Arduino series board should not need those hardware tweaks... Once usb u'plugunpand re-powered, the program should run as coded. Can you post more about you program, like, main objective, schematics, etc? Upvote 0
Arduino series board should not need those hardware tweaks... Once usb u'plugunpand re-powered, the program should run as coded. Can you post more about you program, like, main objective, schematics, etc?
omarruben Active Member Licensed User Longtime User Jan 1, 2019 #8 thanks again, #Erel and #Cableguy , I am using the same code from this link on the forum: https://www.b4x.com/android/forum/threads/code-modules-keyboard-mouse-etc.77417/#content I did power cycle , still does not run by it own, maybe something to do with the usb interface Upvote 0
thanks again, #Erel and #Cableguy , I am using the same code from this link on the forum: https://www.b4x.com/android/forum/threads/code-modules-keyboard-mouse-etc.77417/#content I did power cycle , still does not run by it own, maybe something to do with the usb interface
Cableguy Expert Licensed User Longtime User Jan 1, 2019 #9 I have read about Arduino clones going berserk. I have several clones, no issues up till today! Upvote 0