Arduino troubles.
This is my first go at this but this is what I have done.
1) installed Arduino IDE
2) imported OneWire library
3) imported PIDV1 library
4) downloaded sketch from GitHub
5) Opened Sketch in Arduino IDE
6) executed Verify / Compile
At this I have received a number of errors listed below.
The only thing I haven't done was install the driver for the Uno. (I am at work and Uno is at home)
Let me know what I may have missed.
Thanks and sorry for the length of the post.
Jim
brauduino2:28: error: 'OneWire' does not name a type
brauduino2.pde: In function 'void Temperature()':
brauduino2:198: error: 'ds' was not declared in this scope
brauduino2.pde: In function 'void stage_loop(int, float, float)':
brauduino2:525: error: call of overloaded 'write(int)' is ambiguous
C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:82: note: candidates are: virtual size_t LiquidCrystal::write(uint8_t)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)
brauduino2.pde: In function 'void manual_mode()':
brauduino2:655: error: call of overloaded 'write(int)' is ambiguous
C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:82: note: candidates are: virtual size_t LiquidCrystal::write(uint8_t)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)
brauduino2.pde: In function 'void loop()':
brauduino2:1049: error: call of overloaded 'write(int)' is ambiguous
C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:82: note: candidates are: virtual size_t LiquidCrystal::write(uint8_t)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)
brauduino2.ino: At global scope:
brauduino2:28: error: 'OneWire' does not name a type
brauduino2:29: error: redefinition of 'LiquidCrystal lcd'
brauduino2:29: error: 'LiquidCrystal lcd' previously declared here
brauduino2:33: error: redefinition of 'const char Button_up'
brauduino2:33: error: 'const char Button_up' previously defined here
brauduino2:34: error: redefinition of 'const char Button_dn'
brauduino2:34: error: 'const char Button_dn' previously defined here
brauduino2:35: error: redefinition of 'const char Button_prev'
brauduino2:35: error: 'const char Button_prev' previously defined here
brauduino2:36: error: redefinition of 'const char Button_nxt'
brauduino2:36: error: 'const char Button_nxt' previously defined here
brauduino2:40: error: redefinition of 'const int Heat'
brauduino2:40: error: 'const int Heat' previously defined here
brauduino2:41: error: redefinition of 'const int Pump'
brauduino2:41: error: 'const int Pump' previously defined here
brauduino2:42: error: redefinition of 'const int Buzz'
brauduino2:42: error: 'const int Buzz' previously defined here
brauduino2:46: error: redefinition of 'unsigned int WindowSize'
brauduino2:46: error: 'unsigned int WindowSize' previously declared here
brauduino2:48: error: redefinition of 'long unsigned int windowStartTime'
brauduino2:48: error: 'long unsigned int windowStartTime' previously declared here
brauduino2:49: error: redefinition of 'long unsigned int start'
brauduino2:49: error: 'long unsigned int start' previously declared here
brauduino2:51: error: redefinition of 'double Setpoint'
brauduino2:51: error: 'double Setpoint' previously declared here
brauduino2:51: error: redefinition of 'double Input'
brauduino2:51: error: 'double Input' previously declared here
brauduino2:51: error: redefinition of 'double Output'
brauduino2:51: error: 'double Output' previously declared here
brauduino2:51: error: redefinition of 'double eepromKp'
brauduino2:51: error: 'double eepromKp' previously declared here
brauduino2:51: error: redefinition of 'double eepromKi'
brauduino2:51: error: 'double eepromKi' previously declared here
brauduino2:51: error: redefinition of 'double eepromKd'
brauduino2:51: error: 'double eepromKd' previously declared here
brauduino2:53: error: redefinition of 'boolean manualLoop'
brauduino2:53: error: 'boolean manualLoop' previously defined here
brauduino2:54: error: redefinition of 'boolean waterAdd'
brauduino2:54: error: 'boolean waterAdd' previously defined here
brauduino2:55: error: redefinition of 'boolean Conv_start'
brauduino2:55: error: 'boolean Conv_start' previously defined here
brauduino2:56: error: redefinition of 'boolean mpump'
brauduino2:56: error: 'boolean mpump' previously defined here
brauduino2:57: error: redefinition of 'boolean mheat'
brauduino2:57: error: 'boolean mheat' previously defined here
brauduino2:58: error: redefinition of 'boolean wtBtn'
brauduino2:58: error: 'boolean wtBtn' previously defined here
brauduino2:59: error: redefinition of 'boolean autoEnter'
brauduino2:59: error: 'boolean autoEnter' previously defined here
brauduino2:60: error: redefinition of 'boolean tempReached'
brauduino2:60: error: 'boolean tempReached' previously defined here
brauduino2:61: error: redefinition of 'boolean pumpRest'
brauduino2:61: error: 'boolean pumpRest' previously defined here
brauduino2:63: error: redefinition of 'boolean resume'
brauduino2:63: error: 'boolean resume' previously defined here
brauduino2:64: error: redefinition of 'float mset_temp'
brauduino2:64: error: 'float mset_temp' previously defined here
brauduino2:65: error: redefinition of 'float Temp_c'
brauduino2:65: error: 'float Temp_c' previously declared here
brauduino2:65: error: redefinition of 'float stageTemp'
brauduino2:65: error: 'float stageTemp' previously declared here
brauduino2:65: error: redefinition of 'float pumptempError'
brauduino2:65: error: 'float pumptempError' previously declared here
brauduino2:67: error: redefinition of 'int temp'
brauduino2:67: error: 'int temp' previously declared here
brauduino2:68: error: redefinition of 'int x'
brauduino2:68: error: 'int x' previously declared here
brauduino2:69: error: redefinition of 'int stageTime'
brauduino2:69: error: 'int stageTime' previously declared here
brauduino2:69: error: redefinition of 'int hopTime'
brauduino2:69: error: 'int hopTime' previously declared here
brauduino2:71: error: redefinition of 'byte mainMenu'
brauduino2:71: error: 'byte mainMenu' previously defined here
brauduino2:72: error: redefinition of 'byte pumpTime'
brauduino2:72: error: 'byte pumpTime' previously declared here
brauduino2:73: error: redefinition of 'byte data [2]'
brauduino2:73: error: 'byte data [2]' previously declared here
brauduino2:74: error: redefinition of 'byte second'
brauduino2:74: error: 'byte second' previously declared here
brauduino2:77: error: redefinition of 'byte Busy'
brauduino2:77: error: 'byte Busy' previously defined here
brauduino2:78: error: redefinition of 'byte nmbrStgs'
brauduino2:78: error: 'byte nmbrStgs' previously declared here
brauduino2:79: error: redefinition of 'byte nmbrHops'
brauduino2:79: error: 'byte nmbrHops' previously declared here
brauduino2:80: error: redefinition of 'byte tempHAddr'
brauduino2:80: error: 'byte tempHAddr' previously declared here
brauduino2:81: error: redefinition of 'byte tempLAddr'
brauduino2:81: error: 'byte tempLAddr' previously declared here
brauduino2:82: error: redefinition of 'byte timeAddr'
brauduino2:82: error: 'byte timeAddr' previously declared here
brauduino2:83: error: redefinition of 'byte blhpAddr'
brauduino2:83: error: 'byte blhpAddr' previously declared here
brauduino2:84: error: redefinition of 'byte hopAdd'
brauduino2:84: error: 'byte hopAdd' previously declared here
brauduino2:86: error: redefinition of 'char* stgName []'
brauduino2:86: error: 'char* stgName [10]' previously defined here
brauduino2:90: error: redefinition of 'byte degc [8]'
brauduino2:90: error: 'byte degc [8]' previously defined here
brauduino2:104: error: redefinition of 'PID myPID'
brauduino2:104: error: 'PID myPID' previously declared here
brauduino2.ino: In function 'void Buzzer(int)':
brauduino2:110: error: redefinition of 'void Buzzer(int)'
brauduino2:110: error: 'void Buzzer(int)' previously defined here
brauduino2.ino: In function 'void pause_stage()':
brauduino2:123: error: redefinition of 'void pause_stage()'
brauduino2:123: error: 'void pause_stage()' previously defined here
brauduino2.ino: In function 'void display_lcd(int, int, const char*)':
brauduino2:140: error: redefinition of 'void display_lcd(int, int, const char*)'
brauduino2:140: error: 'void display_lcd(int, int, const char*)' previously defined here
brauduino2.ino: In function 'int Button_1sec_press(int)':
brauduino2:152: error: redefinition of 'int Button_1sec_press(int)'
brauduino2:152: error: 'int Button_1sec_press(int)' previously defined here
brauduino2.ino: In function 'int Button_repeat(int)':
brauduino2:171: error: redefinition of 'int Button_repeat(int)'
brauduino2:171: error: 'int Button_repeat(int)' previously defined here
brauduino2.ino: In function 'int Button_hold_press(int)':
brauduino2:183: error: redefinition of 'int Button_hold_press(int)'
brauduino2:183: error: 'int Button_hold_press(int)' previously defined here
brauduino2.ino: In function 'void Temperature()':
brauduino2:197: error: redefinition of 'void Temperature()'
brauduino2:197: error: 'void Temperature()' previously defined here
brauduino2:198: error: 'ds' was not declared in this scope
brauduino2.ino: In function 'void PID_HEAT()':
brauduino2:229: error: redefinition of 'void PID_HEAT()'
brauduino2:229: error: 'void PID_HEAT()' previously defined here
brauduino2.ino: In function 'void load_pid_settings()':
brauduino2:246: error: redefinition of 'void load_pid_settings()'
brauduino2:246: error: 'void load_pid_settings()' previously defined here
brauduino2.ino: In function 'boolean wait_for_confirm(boolean&)':
brauduino2:262: error: redefinition of 'boolean wait_for_confirm(boolean&)'
brauduino2:262: error: 'boolean wait_for_confirm(boolean&)' previously defined here
brauduino2.ino: In function 'float change_temp(float&, int, int)':
brauduino2:284: error: redefinition of 'float change_temp(float&, int, int)'
brauduino2:284: error: 'float change_temp(float&, int, int)' previously defined here
brauduino2.ino: In function 'void quit_mode(boolean&)':
brauduino2:313: error: redefinition of 'void quit_mode(boolean&)'
brauduino2:313: error: 'void quit_mode(boolean&)' previously defined here
brauduino2.ino: In function 'void heat_control()':
brauduino2:328: error: redefinition of 'void heat_control()'
brauduino2:328: error: 'void heat_control()' previously defined here
brauduino2.ino: In function 'void pump_control()':
brauduino2:348: error: redefinition of 'void pump_control()'
brauduino2:348: error: 'void pump_control()' previously defined here
brauduino2.ino: In function 'void prompt_for_water()':
brauduino2:367: error: redefinition of 'void prompt_for_water()'
brauduino2:367: error: 'void prompt_for_water()' previously defined here
brauduino2.ino: In function 'void pump_prime()':
brauduino2:376: error: redefinition of 'void pump_prime()'
brauduino2:376: error: 'void pump_prime()' previously defined here
brauduino2.ino: In function 'void pump_rest(int)':
brauduino2:396: error: redefinition of 'void pump_rest(int)'
brauduino2:396: error: 'void pump_rest(int)' previously defined here
brauduino2.ino: In function 'void check_for_resume()':
brauduino2:419: error: redefinition of 'void check_for_resume()'
brauduino2:419: error: 'void check_for_resume()' previously defined here
brauduino2.ino: In function 'void load_stage_settings()':
brauduino2:439: error: redefinition of 'void load_stage_settings()'
brauduino2:439: error: 'void load_stage_settings()' previously defined here
brauduino2.ino: In function 'void start_time()':
brauduino2:450: error: redefinition of 'void start_time()'
brauduino2:450: error: 'void start_time()' previously defined here
brauduino2.ino: In function 'void stage_timing(int)':
brauduino2:462: error: redefinition of 'void stage_timing(int)'
brauduino2:462: error: 'void stage_timing(int)' previously defined here
brauduino2.ino: In function 'void hop_add()':
brauduino2:483: error: redefinition of 'void hop_add()'
brauduino2:483: error: 'void hop_add()' previously defined here
brauduino2.ino: In function 'void stage_loop(int, float, float)':
brauduino2:503: error: redefinition of 'void stage_loop(int, float, float)'
brauduino2:503: error: 'void stage_loop(int, float, float)' previously defined here
brauduino2.ino: In function 'void get_stage_settings()':
brauduino2:549: error: redefinition of 'void get_stage_settings()'
brauduino2:549: error: 'void get_stage_settings()' previously defined here
brauduino2.ino: In function 'void add_malt()':
brauduino2:567: error: redefinition of 'void add_malt()'
brauduino2:567: error: 'void add_malt()' previously defined here
brauduino2.ino: In function 'void remove_malt()':
brauduino2:588: error: redefinition of 'void remove_malt()'
brauduino2:588: error: 'void remove_malt()' previously defined here
brauduino2.ino: In function 'void get_boil_settings()':
brauduino2:617: error: redefinition of 'void get_boil_settings()'
brauduino2:617: error: 'void get_boil_settings()' previously defined here
brauduino2.ino: In function 'void manual_mode()':
brauduino2:641: error: redefinition of 'void manual_mode()'
brauduino2:636: error: 'void manual_mode()' previously defined here
brauduino2.ino: In function 'void auto_mode()':
brauduino2:673: error: redefinition of 'void auto_mode()'
brauduino2:668: error: 'void auto_mode()' previously defined here
brauduino2.ino: In function 'void save_settings(int, int)':
brauduino2:736: error: redefinition of 'void save_settings(int, int)'
brauduino2:731: error: 'void save_settings(int, int)' previously defined here
brauduino2.ino: In function 'void save_settings(int, byte)':
brauduino2:745: error: redefinition of 'void save_settings(int, byte)'
brauduino2:740: error: 'void save_settings(int, byte)' previously defined here
brauduino2.ino: In function 'int change_set(int&, int, int, int)':
brauduino2:754: error: redefinition of 'int change_set(int&, int, int, int)'
brauduino2:749: error: 'int change_set(int&, int, int, int)' previously defined here
brauduino2.ino: In function 'int change_set(byte&, int, int, int)':
brauduino2:773: error: redefinition of 'int change_set(byte&, int, int, int)'
brauduino2:768: error: 'int change_set(byte&, int, int, int)' previously defined here
brauduino2.ino: In function 'void unit_set()':
brauduino2:794: error: redefinition of 'void unit_set()'
brauduino2:789: error: 'void unit_set()' previously defined here
brauduino2.ino: In function 'void set_stages()':
brauduino2:847: error: redefinition of 'void set_stages()'
brauduino2:842: error: 'void set_stages()' previously defined here
brauduino2.ino: In function 'void set_hops()':
brauduino2:905: error: redefinition of 'void set_hops()'
brauduino2:900: error: 'void set_hops()' previously defined here
brauduino2.ino: In function 'void auto_set()':
brauduino2:948: error: redefinition of 'void auto_set()'
brauduino2:943: error: 'void auto_set()' previously defined here
brauduino2.ino: In function 'void setup_mode()':
brauduino2:957: error: redefinition of 'void setup_mode()'
brauduino2:952: error: 'void setup_mode()' previously defined here
brauduino2.ino: In function 'void setup()':
brauduino2:988: error: redefinition of 'void setup()'
brauduino2:983: error: 'void setup()' previously defined here
brauduino2.ino: In function 'void loop()':
brauduino2:1011: error: redefinition of 'void loop()'
brauduino2:1006: error: 'void loop()' previously defined here