Posts by André Filipe • 11 points
2 posts
-
0
votes2
answers716
viewsA: Converts String to int Arduino in C
No matter what type of variable you put on the Netbeans side because it is "converted" to serial communication. From what I understand, you want to read integers from a string sent by Netbeans. I…
-
1
votes2
answers924
viewsA: fgets does not work
Add a getchar() to read Enter from the keyboard. ... printf(" Escolha a opcao desejada: "); scanf("%d", &numero); getchar(); switch(numero) { case 1: ...…