Arduino Forum
Data input via serial UART
Projects
General Guidance
system
May 1, 2012, 2:15pm
2
or, convert the Char to an int?
int n = c - '0';
For one digit numbers, that works.
show post in topic
Related topics
Topic
Replies
Views
Activity
Getting an integer of the serial?
Interfacing
8
33168
May 6, 2021
converting char to int
Programming
11
343711
May 5, 2021
Domanda semplice sugli interi seriale
Italiano
5
1334
May 6, 2021
Serial.read into integer - syntax migration probs
Syntax & Programs
8
3482
May 6, 2021
Serial ASCII conversion to int
Syntax & Programs
2
32320
May 6, 2021