This is the first in a series of electronic or robotic DIY projects. These projects are accompanied by instructional videos that will help you trough the many steps involved in completing the task at hand. For this first iteration, we are making an RGB LED Mood Cube.
i bought a kit for my project of RB-Rbo-87 and i followed the instruction on how to assemble it. i used the code provided to upload to the project but it does not work what are my doing wrong? i chose for the board- Arduino Duemilanova and for the programmer- Arduino as ISP.
Everytime i upload it gives this error:
sketch_dec15a.ino:32:21: error: Rainbow.h: No such file or directory
sketch_dec15a.ino: In function ‘void shift_1_bit(unsigned char)’:
sketch_dec15a:237: error: ‘shift_data_1’ was not declared in this scope
sketch_dec15a:241: error: ‘shift_data_0’ was not declared in this scope
sketch_dec15a:243: error: ‘clk_rising’ was not declared in this scope
sketch_dec15a.ino: In function ‘void flash_next_line(unsigned char, unsigned char)’:
sketch_dec15a:248: error: ‘disable_oe’ was not declared in this scope
sketch_dec15a:249: error: ‘close_all_line’ was not declared in this scope
sketch_dec15a:252: error: ‘enable_oe’ was not declared in this scope
sketch_dec15a.ino: In function ‘void shift_24_bit(unsigned char, unsigned char)’:
sketch_dec15a:260: error: ‘le_high’ was not declared in this scope
sketch_dec15a:287: error: ‘le_low’ was not declared in this scope
sketch_dec15a.ino: In function ‘void open_line(unsigned char)’:
sketch_dec15a:297: error: ‘open_line0’ was not declared in this scope
sketch_dec15a:298: error: ‘open_line1’ was not declared in this scope
sketch_dec15a:299: error: ‘open_line2’ was not declared in this scope
sketch_dec15a:300: error: ‘open_line3’ was not declared in this scope
sketch_dec15a:301: error: ‘open_line4’ was not declared in this scope
sketch_dec15a:302: error: ‘open_line5’ was not declared in this scope
sketch_dec15a:303: error: ‘open_line6’ was not declared in this scope
sketch_dec15a:304: error: ‘open_line7’ was not declared in this scope
the software i used was Arduino 1.5.1r2.
i am given one week to finish this project and if you can’t help is their anyway i can purchase an assembled RGB LED mood light of this kind of project so save me time.
i am having this error please help me tomorrow is my presentation i need the solution today.
C:\Users\KUNLEA~1\AppData\Local\Temp\build3881484383699676880.tmp/core.a(main.cpp.o): In function main': C:\Program Files\arduino-1.5.1r2-windows\arduino-1.5.1r2\hardware\arduino\avr\cores\arduino/main.cpp:11: undefined reference to setup’
C:\Program Files\arduino-1.5.1r2-windows\arduino-1.5.1r2\hardware\arduino\avr\cores\arduino/main.cpp:14: undefined reference to `loop’
sketch_dec17a.ino:32:21: error: Rainbow.h: No such file or directory
sketch_dec17a.ino: In function ‘void shift_1_bit(unsigned char)’:
sketch_dec17a:237: error: ‘shift_data_1’ was not declared in this scope
sketch_dec17a:241: error: ‘shift_data_0’ was not declared in this scope
sketch_dec17a:243: error: ‘clk_rising’ was not declared in this scope
sketch_dec17a.ino: In function ‘void flash_next_line(unsigned char, unsigned char)’:
sketch_dec17a:248: error: ‘disable_oe’ was not declared in this scope
sketch_dec17a:249: error: ‘close_all_line’ was not declared in this scope
sketch_dec17a:252: error: ‘enable_oe’ was not declared in this scope
sketch_dec17a.ino: In function ‘void shift_24_bit(unsigned char, unsigned char)’:
sketch_dec17a:260: error: ‘le_high’ was not declared in this scope
sketch_dec17a:287: error: ‘le_low’ was not declared in this scope
sketch_dec17a.ino: In function ‘void open_line(unsigned char)’:
sketch_dec17a:297: error: ‘open_line0’ was not declared in this scope
sketch_dec17a:298: error: ‘open_line1’ was not declared in this scope
sketch_dec17a:299: error: ‘open_line2’ was not declared in this scope
sketch_dec17a:300: error: ‘open_line3’ was not declared in this scope
sketch_dec17a:301: error: ‘open_line4’ was not declared in this scope
sketch_dec17a:302: error: ‘open_line5’ was not declared in this scope
sketch_dec17a:303: error: ‘open_line6’ was not declared in this scope
sketch_dec17a:304: error: ‘open_line7’ was not declared in this scope
sketch_dec17a.ino: In function ‘void setup()’:
sketch_dec17a:313: error: ‘_int’ was not declared in this scope
Please make sure you set the target platform to Arduino Duemilanove. Also make sure all of the sketch files are open at the same time in the Arduino IDE. Finally, you might want to redownload the code in order to make sure you have the latest version.
Hi, I am trying to program my rainbowduino with the plasma wave, but it does compile. It gives me this error:
core.a(main.cpp.o): In function main': /usr/share/arduino/hardware/arduino/cores/arduino/main.cpp:7: undefined reference to setup’
/usr/share/arduino/hardware/arduino/cores/arduino/main.cpp:10: undefined reference to `loop’