By: admeister
Alexandre Your for loop is wrong: for (int i=1; i=TIME; i++) the condition i=TIME will never be true Should be: for (int i=1; i<=TIME; i++) Or: for (int i=0; i<TIME; i++)
View ArticleBy: admeister
Correction: i=TIME is an assignment statement ie set i to 1 rather than a condition i==TIME
View ArticleBy: admeister
Hello John – Great series. I have ordered an UNO and can’t wait to start experimenting. Great series. Thank you
View ArticleBy: ...
hey! could you help me by explaining how this: for (int loopy = 0; loopy<=3; loopy++) works exactly?
View ArticleBy: John Boxall
It means that the code in the curly brackets below the for statement will repeat four times. integer ‘loopy’ stores the number of times the loop repeats. It starts from zero and continues until...
View ArticleBy: ardunovice
Hi John Thanks for all the effort you put in to get us amateurs to get up to speed on the Arduino! I have a question, please. In the interrupts section above you say that we could use an interrupt to...
View ArticleBy: ardunovice
Sorry, John – another dumb question… If I’m placing a relay on a breadboard, how would you recommend I hook the relay up to AC current – I’ve heard that breadboards don’t like AC current much! Would I...
View ArticleBy: John Boxall
You could, but would need two microcontrollers. One to read the temperature sensor which triggers the interrupt on another microcontroller. I have instead remove that section.
View ArticleBy: John Boxall
I am assuming you mean AC mains current. Don’t connect this to a breadboard. Consult a licenced electrician.
View ArticleBy: davestradingjournal
Have just completed the code for the final exercise. What a great experience! Thought it would be a nightmare, but by chopping each section into a function, it\’s looking pretty good. Can\’t wait to...
View ArticleBy: Mark
Hi. I have spent a few hours looking at your site. Learned a lot. So far every sketch has worked exactly as planned. more to see. Thank you very much for the information
View ArticleBy: Rich
Great help. One question. I see the +12V from the power supply but do not see any ground wire from the power supply? Is it connected to the ground from Arduino?? Is it not used??? Thanks
View ArticleBy: Mark
Hi. I have spent a few hours looking at your site. Learned a lot. So far every sketch has worked exactly as planned. more to see. Thank you very much for the information
View ArticleBy: Rich
Great help. One question. I see the +12V from the power supply but do not see any ground wire from the power supply? Is it connected to the ground from Arduino?? Is it not used??? Thanks
View ArticleBy: Mark Stevens, Sr.
Hi John, I am new to Arduino and I find your series very helpful. All previous sketches have been working fine but I cannot get example 3.1 to work. The compiler error says: Example_3_1.ino: In...
View Article
More Pages to Explore .....