mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-11 22:24:13 +01:00
17 lines
165 B
C++
17 lines
165 B
C++
|
void setup()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void loop()
|
||
|
{
|
||
|
char cmd[16];
|
||
|
int pin;
|
||
|
pin = atoi(&cmd[1]);
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
// convert string to numeric value
|
||
|
int atoi(char *array) {
|
||
|
}
|
||
|
*/
|