The chipKIT Lenny is designed to be as close to the Arduino Leonardo as physically possible. The choice of microcontroller, the PIC32MX270F256D with advanced Peripheral Pin Select, means GPIO pin functions can be mapped to match those of common Arduino boards. By default that mapping is configured to be equivalent to the Arduino Leonardo.
LED L is on digital pin 22. LED TX is on digital pin 23. LED RX is on digital pin 24. Power (ON) LED is on 3.3V power.
|DTWI0 / Wire
|DSPI0 / SPI
The PROG button used to enter bootloader mode is on digital IO 21. By default it is connected to the FastProg circuit to allow rapid single-finger access to the bootloader. This may be disabled by cutting the link adjacent to the PROG button.
When you want to upload a new sketch to the chipKIT Lenny, you need to put it into bootloader mode. This is done by simply tapping the PROG button.
If FastProg has been disabled you should instead hold the PROG button whilst briefly pressing the RESET button.
The LED "L" should start blinking to indicate the bootloader is running.
To get the most out of the Lenny you will want to install the USB Device Library. This allows you to use the Lenny (and similar direct-USB boards) as:
No, it's not broken. The USB interface is only active when either the bootloader is running or your sketch has specifically requested that it be used through the use of, for example, "Serial.begin(115200);". If your sketch (such as the default Blink sketch) doesn't use the USB interface then the computer won't see the board at all. Pressing the PROG button will enter the bootloader and the computer should then see the board as a COM port.