Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

compile error
#6

Hi
Sorry to be a nuisance but I am having trouble compiling the Air Quality Software. The error messages are listed below. Any assistance would be appreciated. 
Regards
Ian

PMS7003.ino: In function 'void read_PMS7003()':
PMS7003.ino:33:29: error: call of overloaded 'find(int)' is ambiguous
PMS7003.ino:33:29: note: candidates are:
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29:0,
                 from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:223,
                 from C:\Users\idorm\Documents\Arduino\libraries\VirtualWire/VirtualWire.h:269,
                 from WeatherDuino_AirQualityMonitor_PMS_v700_b007.ino:37:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:59:8: note: bool Stream::find(char*) <near match>
   bool find(char *target);   // reads data from the stream until the target string is found
        ^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:59:8: note:   no known conversion for argument 1 from 'int' to 'char*'
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:60:8: note: bool Stream::find(uint8_t*) <near match>
   bool find(uint8_t *target) { return find ((char *)target); }
        ^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:60:8: note:   no known conversion for argument 1 from 'int' to 'uint8_t* {aka unsigned char*}'
Error compiling.
Reply


Messages In This Thread
compile error - by markkkk42 - 17-10-2017, 10:23
RE: compile error - by markkkk42 - 17-10-2017, 11:01
RE: compile error - by markkkk42 - 17-10-2017, 12:01
RE: compile error - by laulau - 17-10-2017, 13:15
RE: compile error - by markkkk42 - 17-10-2017, 13:29
RE: compile error - by dormani - 27-12-2017, 05:12
RE: compile error - by werk_ag - 27-12-2017, 06:42
RE: compile error - by dormani - 27-12-2017, 07:12
RE: compile error - by zitoune - 16-02-2018, 11:04
RE: compile error - by zitoune - 16-02-2018, 11:23



Users browsing this thread: 1 Guest(s)