Hi, I've made an automatic window's blind servo controler with the IDE 1.0.6 some months ago.
I've use the VirtualWire and ServoTimer2 librairy (can't use the Servo librairy because conflict with the virtualwire)
Evrything was working very well. It is install on my window since months. But I updated my IDE to 1.6.3 and I wish to modify a value in my project but I can't because now there is this error:
In file included from blindAutomation_receiver.ino:28:0:
C:\Users\Yannick\Documents\Arduino\libraries\ServoTimer2/ServoTimer2.h:41:17: error: conflicting declaration 'typedef uint8_t boolean'
typedef uint8_t boolean;
- ^*
In file included from C:\Users\Yannick\Documents\Arduino\libraries\VirtualWire/VirtualWire.h:146:0, - from blindAutomation_receiver.ino:27:*
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:117:14: error: 'boolean' has a previous declaration as 'typedef bool boolean'
typedef bool boolean;
My code Haven't change except a value for the position of the servo, so this is not the problem.
It says the conflict is between the servo2 and virtualwire librairy. the virtualwire librairy actually call the "arduino.h" librairie wich have the conflicting declaration with this code:
#if defined(ARDUINO)
#if ARDUINO >= 100
#include <Arduino.h>
#else
#include <wiring.h>
#endif
Can the IDE update can be the reason or not because either IDE version i had used is "ARDUINO >= 100 ?"
Thank you