NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Support Forum » array?
March 14, 2011 by crazyflyer |
I am newbie to this program. Never wrote C++ program before. I tried to understand from book about array. How to escape after 9 times from Loop? Here the code I wrote. Anyone give me teach me that would be help a lot. thanks.
|
---|---|
March 14, 2011 by Rick_S |
That appears to be arduino code, not standard avr-gcc code. You'd need to re-write it in standard c to be able to use it on the nerdkit. Rick |
March 14, 2011 by crazyflyer |
what is different between arduino code and avr-gcc code? |
March 14, 2011 by Rick_S |
Arduino is a specific hardware/software solution. avr-gcc is a free c compiler for atmel avr micro-controllers. Arduino uses a language called processing that is built around c++. Arduino code will run on the same type microcontroller used in the nerdkit but it would have to be compiled first with the arduino software then transferred manually. If you are just beginning, I would suggest you put arduino out of your mind for now and concentrate on the nerdkit guide and provided examples. Then look over the tutorials on the website. Search the forum, look at the example code you can find there as well. Soon, you'll find yourself starting to grasp c. Rick |
Please log in to post a reply.
Did you know that SPDT stands for "Single Pole, Double Throw"? Learn more...
|