seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

arduino (exit status 1 ). #429

Closed ravishanth closed 5 years ago

ravishanth commented 5 years ago

Hi , this is the code that i want to upload to my Arduino UNO/Genuine board

include

include

include

include

include

include

include

include

HttpClient client;

Servo frontDoor; Servo garageDoor; Blink led(13,1000);

int lightLeft = 11; int lightRight = 10; int lightRoom = 9; int lightGarage = 8; int servoDoor = 7; int servoGarage = 6;

bool asyncdemo = false;

void setup() { // Bridge takes about two seconds to start up // it can be helpful to use the on-board LED // as an indicator for when it has initialized Bridge.begin();

client.setTimeout(2000);

pinMode(lightLeft, OUTPUT); pinMode(lightRight, OUTPUT); pinMode(lightRoom, OUTPUT); pinMode(lightGarage, OUTPUT);

led.Update();

frontDoor.attach(servoDoor); garageDoor.attach(servoGarage);

reset();

}

When i try to compile this code , its throwing an error " pubnub_arduino:43:7: error: 'reset' was not declared in this scope

reset();

   ^

exit status 1 'reset' was not declared in this scope "..

Can anyone help me out to get rid of this error... Thanks ..