Skip to content

Instantly share code, notes, and snippets.

@ypelletier
Last active January 13, 2019 23:31
Communication série par USB entre Pinguino et PC.
/*-----------------------------------------------------
Communication série par USB entre Pinguino et PC.
http://electroniqueamateur.blogspot.com/2014/11/utiliser-le-moniteur-serie-de-lide.html
-----------------------------------------------------*/
int compteur = 0;
void setup()
{
}
void loop()
{
compteur++;
CDC.printf("Valeur du compteur: %i\r\n", compteur);
delay(500);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment