I was checking some stuff out yesterday and found out that Arduino has released a new board (Leonardo) and with it a new release of the IDE…
Sounds like the new boards will be available in maybe a week. Here is one add for them: adafruit.com/products/849
As I like to be on the bleeding edge, I downloaded the new IDE to see what differences are. There is one change that I found that could be problematic:
If I am reading this right will need to go through each sketch and library and check for places where, we use PU resistors and change the code.
Example: In my Arduino Remote control, the init keyboard function:
void InitKeypad(void) {
...
// Init Cols
for (; bPin < FIRST_KEYPAD_IOPIN+8; bPin++) {
digitalWrite(bPin, HIGH); // set the in high which when input, enables PU
pinMode(bPin, INPUT); // set all of the pins to input
}
}
Will no longer work… Need to change to:
void InitKeypad(void) {
...
// Init Cols
for (; bPin < FIRST_KEYPAD_IOPIN+8; bPin++) {
pinMode(bPin, INPUT_PULLUP); // set all of the pins to input
}
}
Not a big deal, but there will be compile issues, simply things wont work anymore…
Kurt