Go Down

Topic: Issue with 0012 checkout (Read 473 times) previous topic - next topic

wholder

I checked out the latest 0012 build for OSX, but got an error that traced to line 12 of wProgram.h.  In particular, I had to change this:

[font=Courier New]  unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
[/font]
to:

[font=Courier New]unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout);
[/font]

before the code would run without an error.  This is the first time I've tried to checkout and run the Arduino IDE, so perhaps I'm missing something....

Wayne



Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy