//https://dcc-ex.com/ex-commandstation/index.html#gsc.tab=0
/// int; byte, string, char,
// float decimal = -10.3;
//float decimal = 10.3;
//unsigned long largo = -15;
//long corto = -12;
int mivariable = 30;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
int mivariable = 10;
Serial.println(mivariable);
}
void loop() {
// put your main code here, to run repeatedly:
laglobal();
int mivariable = 15; // quitamos el int.
Serial.println(mivariable);
laglobal();
Serial.println(largo);
Serial.println(corto);
Serial.println(decimal);
for(;;);
}
void laglobal() {
Serial.println(mivariable);
}