Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Starlight 1

Members
  • Posts

    3,302
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Starlight 1

  1. Trying to upload the codes and geting this? is this something I had overlook

    Arduino: 1.6.5 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    Using library dallas-temperature-control in folder: C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control (legacy)

    Using library OneWire in folder: C:\Users\Les\Documents\Arduino\libraries\OneWire (legacy)

    Using library SoftI2CMaster-master in folder: C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master (legacy)



    C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega -IC:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control -IC:\Users\Les\Documents\Arduino\libraries\OneWire -IC:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master C:\Users\Les\AppData\Local\Temp\build443094298286724310.tmp\New_clould_rain_sensor.cpp -o C:\Users\Les\AppData\Local\Temp\build443094298286724310.tmp\New_clould_rain_sensor.cpp.o

    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'void i2c_wait_scl_high()':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:170:31: error: 'SCL_PORT' was not declared in this scope
     #define SCL_IN  (_SFR_IO_ADDR(SCL_PORT) - 2)
                                   ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:208:23: note: in expansion of macro 'SCL_IN'
          : : [sCLIN] "I" (SCL_IN), [sCLPIN] "I" (SCL_PIN));
                           ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:208:46: error: 'SCL_PIN' was not declared in this scope
          : : [sCLIN] "I" (SCL_IN), [sCLPIN] "I" (SCL_PIN));
                                                  ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'boolean i2c_init()':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:166:38: error: 'SCL_PORT' was not declared in this scope
     #define SCL_DDR        (_SFR_IO_ADDR(SCL_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:262:23: note: in expansion of macro 'SCL_DDR'
            [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN),
                           ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:262:47: error: 'SCL_PIN' was not declared in this scope
            [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN),
                                                   ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:264:23: note: in expansion of macro 'SDA_DDR'
            [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN),
                           ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:264:47: error: 'SDA_PIN' was not declared in this scope
            [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN),
                                                   ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'bool i2c_start(uint8_t)':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:282:25: note: in expansion of macro 'SDA_DDR'
          : : [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN),
                             ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:282:49: error: 'SDA_PIN' was not declared in this scope
          : : [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN),
                                                     ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:170:31: error: 'SCL_PORT' was not declared in this scope
     #define SCL_IN  (_SFR_IO_ADDR(SCL_PORT) - 2)
                                   ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:283:21: note: in expansion of macro 'SCL_IN'
            [sCLIN] "I" (SCL_IN),[sCLPIN] "I" (SCL_PIN));
                         ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:283:43: error: 'SCL_PIN' was not declared in this scope
            [sCLIN] "I" (SCL_IN),[sCLPIN] "I" (SCL_PIN));
                                               ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'bool i2c_rep_start(uint8_t)':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:166:38: error: 'SCL_PORT' was not declared in this scope
     #define SCL_DDR        (_SFR_IO_ADDR(SCL_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:307:25: note: in expansion of macro 'SCL_DDR'
          : : [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN),[sCLIN] "I" (SCL_IN),
                             ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:307:49: error: 'SCL_PIN' was not declared in this scope
          : : [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN),[sCLIN] "I" (SCL_IN),
                                                     ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:308:25: note: in expansion of macro 'SDA_DDR'
              [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN));
                             ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:308:49: error: 'SDA_PIN' was not declared in this scope
              [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN));
                                                     ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'void i2c_start_wait(uint8_t)':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:335:24: note: in expansion of macro 'SDA_DDR'
         : : [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN),
                            ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:335:48: error: 'SDA_PIN' was not declared in this scope
         : : [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN),
                                                    ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:170:31: error: 'SCL_PORT' was not declared in this scope
     #define SCL_IN  (_SFR_IO_ADDR(SCL_PORT) - 2)
                                   ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:336:20: note: in expansion of macro 'SCL_IN'
           [sCLIN] "I" (SCL_IN),[sCLPIN] "I" (SCL_PIN));
                        ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:336:42: error: 'SCL_PIN' was not declared in this scope
           [sCLIN] "I" (SCL_IN),[sCLPIN] "I" (SCL_PIN));
                                              ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'void i2c_stop()':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:166:38: error: 'SCL_PORT' was not declared in this scope
     #define SCL_DDR        (_SFR_IO_ADDR(SCL_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:355:25: note: in expansion of macro 'SCL_DDR'
          : : [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN), [sCLIN] "I" (SCL_IN),
                             ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:355:49: error: 'SCL_PIN' was not declared in this scope
          : : [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN), [sCLIN] "I" (SCL_IN),
                                                     ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:356:25: note: in expansion of macro 'SDA_DDR'
              [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN));
                             ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:356:49: error: 'SDA_PIN' was not declared in this scope
              [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN));
                                                     ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'bool i2c_write(uint8_t)':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:166:38: error: 'SCL_PORT' was not declared in this scope
     #define SCL_DDR        (_SFR_IO_ADDR(SCL_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:431:22: note: in expansion of macro 'SCL_DDR'
           [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN), [sCLIN] "I" (SCL_IN),
                          ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:431:46: error: 'SCL_PIN' was not declared in this scope
           [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN), [sCLIN] "I" (SCL_IN),
                                                  ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:432:22: note: in expansion of macro 'SDA_DDR'
           [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN), [sDAIN] "I" (SDA_IN));
                          ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:432:46: error: 'SDA_PIN' was not declared in this scope
           [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN), [sDAIN] "I" (SDA_IN));
                                                  ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h: In function 'uint8_t i2c_read(bool)':
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:166:38: error: 'SCL_PORT' was not declared in this scope
     #define SCL_DDR        (_SFR_IO_ADDR(SCL_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:500:22: note: in expansion of macro 'SCL_DDR'
           [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN), [sCLIN] "I" (SCL_IN),
                          ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:500:46: error: 'SCL_PIN' was not declared in this scope
           [sCLDDR] "I"  (SCL_DDR), [sCLPIN] "I" (SCL_PIN), [sCLIN] "I" (SCL_IN),
                                                  ^
    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
                     from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
                     from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
                     from C:\Users\Les\Documents\Arduino\libraries\OneWire/OneWire.h:7,
                     from C:\Users\Les\Documents\Arduino\libraries\dallas-temperature-control/DallasTemperature.h:22,
                     from New_clould_rain_sensor.ino:1:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:165:38: error: 'SDA_PORT' was not declared in this scope
     #define SDA_DDR        (_SFR_IO_ADDR(SDA_PORT) - 1)
                                          ^
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:501:22: note: in expansion of macro 'SDA_DDR'
           [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN), [sDAIN] "I" (SDA_IN)
                          ^
    In file included from New_clould_rain_sensor.ino:5:0:
    C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master/SoftI2CMaster.h:501:46: error: 'SDA_PIN' was not declared in this scope
           [sDADDR] "I"  (SDA_DDR), [sDAPIN] "I" (SDA_PIN), [sDAIN] "I" (SDA_IN)
                                                  ^
    New_clould_rain_sensor.ino: In function 'void processCommands()':
    New_clould_rain_sensor.ino:47:24: error: 'FirmwareNumber' was not declared in this scope
    New_clould_rain_sensor.ino:53:24: error: 'FirmwareName' was not declared in this scope
    New_clould_rain_sensor.ino:63:19: error: 'ds18b20_celsius' was not declared in this scope
    New_clould_rain_sensor.ino:69:19: error: 'MLX90614_celsius' was not declared in this scope
    New_clould_rain_sensor.ino:77:19: error: 'delta_celsius' was not declared in this scope
    New_clould_rain_sensor.ino:84:19: error: 'avg_delta_celsius' was not declared in this scope
    New_clould_rain_sensor.ino:91:19: error: 'rainSensorReading' was not declared in this scope
    New_clould_rain_sensor.ino:92:23: error: 'invalid' was not declared in this scope
    New_clould_rain_sensor.ino:100:19: error: 'rainSensorReading2' was not declared in this scope
    Multiple libraries were found for "SoftI2CMaster.h"

     Used: C:\Users\Les\Documents\Arduino\libraries\SoftI2CMaster-master

     Not used: C:\Program Files (x86)\Arduino\libraries\SoftI2CMaster-master

    'FirmwareNumber' was not declared in this scope

  2. My rain sensor Side of project had already been done it simply a set of LED lights on the side of the shed change colours to indicate the Changing weather conditions which make it easy for me to just close down the program until the sky conditions improve maybe I'll do more work on this later to make it more computerised.

  3. I started Making a cloud sensor/Rain sensor some time ago with the Arduino but struggling with the codes I have just switched over to a Mac computer so progress is very slow ,

    Maybe some of your codes may be helpful to my project as well.

    I am still running the  Original project on my Windows 7 Computer a lot my codes are working you see more on my project  under cloud sensor.

  4. The more I think about it you can fit the cylinder on top of warm room roof with the motor and rain cover over it ,and the push out bar with the arms on can fix to the open roof so you have not got to start adding pullys ect plus it help to hold the roof on as well.

    PS the arms have got springs in them . if you like any photos just ask.

    les

  5. Something to think about, I pick up last year one of them roller blinds to keep the Sun out that go over shop windows, ok the cover is no good but the long cylinder with the gearbox on the end

    may work as a roll off roof. as you  got a warm room you can use the arms to pull the roof on and off over the warm room.

    Can  leave the cover on but it will look like a citreon cv.

    • Like 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.