If you take this code
http://wiring.org.co/learning/basics/hu … sht15.html
and try to compile it it gives
/usr/share/arduino/hardware/arduino/cores/arduino/wiring.h: In function ‘int getData16SHT(int, int)’:
/usr/share/arduino/hardware/arduino/cores/arduino/wiring.h:123: error: too many arguments to function ‘uint8_t shiftIn(uint8_t, uint8_t, uint8_t)’
EnviroMon:107: error: at this point in file
/usr/share/arduino/hardware/arduino/cores/arduino/wiring.h:123: error: too many arguments to function ‘uint8_t shiftIn(uint8_t, uint8_t, uint8_t)’
EnviroMon:119: error: at this point in file
this line
val = shiftIn(dataPin, clockPin, MSBFIRST, 8, 3);
Any ideas?
someone else want to try and compile,
I have Arduino 0022
Thanks