Leonardo Pro Micro (ATmega32U4) $5.31
This time I was to check the compact version of arduino without the need of any additional FTDI cable to connect. This board hasn't any led connected to Pin13 like UNO, so will use the onboard led for RX and TX indication. Actually RX led is connected to Pin17 (internal pin), but in our example will use predefined macros RXLED() and TXLED(). These macros are not compatible with the UNO board but the UNO has already onboard led on Pin13.
Test sketch:
// Blink test with RX-TX leds of Leonardo micro
void setup()
{
// nothing need to be setup :)
}
void loop()
{
RXLED1; //RX led set to ON
TXLED0; //TX led set to OFF
delay(1000);// wait for a second
RXLED0; //RX led set to OFF
TXLED1; //TX led set to OFF
delay(1000);// wait for a second
}
This time I was to check the compact version of arduino without the need of any additional FTDI cable to connect. This board hasn't any led connected to Pin13 like UNO, so will use the onboard led for RX and TX indication. Actually RX led is connected to Pin17 (internal pin), but in our example will use predefined macros RXLED() and TXLED(). These macros are not compatible with the UNO board but the UNO has already onboard led on Pin13.
Test sketch:
// Blink test with RX-TX leds of Leonardo micro
void setup()
{
// nothing need to be setup :)
}
void loop()
{
RXLED1; //RX led set to ON
TXLED0; //TX led set to OFF
delay(1000);// wait for a second
RXLED0; //RX led set to OFF
TXLED1; //TX led set to OFF
delay(1000);// wait for a second
}