pinMode(48,INPUT);
digitalWrite(48,HIGH);
You now have to use :
pinMode(48,INPUT_PULLUP);
Took me a bit to find that embedded in the release notes for the Arduino IDE version 1.0.1 .
Also, just as a reminder to myself, on the Arduino Mega's, the SPI pins are 50-53 - which I encountered when I used the board I had created for the alarm which had things mapped to those pins. I've since modified the board on BatchPCB to use other pins, freeing those up and making things easier to use.
No comments:
Post a Comment