It uses a small .pde sample:
#define PIC18F4550
int counter = 0;
void setup(){
Serial.begin(9600);
Serial.print("Hello Android!");
}
void loop(){
char str[50];
char numstr[10];
str[0]=0;
delay(500);
strcat(str,"From Pinguino: Hello Android: c=");
counter++;
uitoa(counter,numstr,10);
strcat(str, numstr);
strcat(str,"\r\n");
CDC.print(str,strlen(str));
if(counter>10000)
counter = 0;
}
The Pinguino 8bits board:
Atrix detects Pinguino and loads CDC driver, that phone already have CDC driver... I think it is because Google wants use ADK project too, but yes We did it before! :PMan! this works! nice not?
2 comentários:
whow!!!!!! it's amazing,thanks for showing this to us, but works with any phone android? and where I can find how to make a pinguino
You can find more info at http://www.pinguino.cc
Postar um comentário