Windows driver for Pinguino

The last version of the bootloader is built with our Vendor ID and Product ID. This is a sublicense of Microchip for this project.
So on windows, you need a driver for Pinguino, the Microchip driver can not be used. But it can be simply adapted.
Download the MCHPFSUSB package on the microchip web site. Extract it in a new folder and go to \pc\MCHPUSB driver\Release\ .
Edit the mchpusb.inf file and replace the following lines:

[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

[DeviceList.ntamd64]
%DESCRIPTION%=DriverInstall64, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

by those lines:

[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_FEAA, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

[DeviceList.ntamd64]
%DESCRIPTION%=DriverInstall64, USB\VID_04D8&PID_FEAA, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

Now save this file and use it as your pinguino driver when windows ask you for a specific driver.
You have just added a new product wich use the microchip driver.

Blink a led with Pinguino

This is the ‘hello, world’ of electronic !!

// Blinking a led with Pinguino
// jean-pierre MANDON 2008

#define led 0
#define tempo 250

void setup()
{
pinMode(led,OUTPUT);
}

void loop()
{
while (1) {
digitalWrite(led,HIGH);
delay(tempo);
digitalWrite(led,LOW);
delay(tempo);
}
}

The led is connected on the output 0 ( RB0 ).
Ouahhhhhhhhh, it works !!

Microchip Vendor ID and Product ID

Pinguino has now a regular VendorID/ProductID. It is used by permission from Microchip Technology Inc. under a sublicense agreement to me. This VID/PID may only be used with Microchip products.
This is the last step to start beta tests………………

Thanks to Microchip for supporting this project.