mohammed-ali:
i tried this code but i got error ( invalid conversion from 'char' to 'const char*')
can you tell me what is my mistake ?void loop()
{
while (Serial.available())
{
char a = Serial.read();
int angle = atoi(a);
Serial.print(angle);