I wrote code like this:
void setup() { } void loop() { } void something(int A1){ }

Click verify and no errors. After a while I got bored with variable A1 and change it to B1. So the code become like this:
void setup() { } void loop() { } void something(int B1){ }
Click verify and got ERROR! -_-"
exit status 1 expected ',' or '...' before numeric constant

tried this with another computer got same result.
whats going on?
system
2
whats going on?
B1 is clearly #defined somewhere, with some value that causes problem where you use B1.
B1 is a silly name. Surely, a longer name would be more meaningful.
The Arduino environment has B00000000 to B11111111 defined to enable them to be used in place of the equivalent binary numbers.
Try this
void setup()
{
Serial.begin(115200);
Serial.println(B0);
Serial.println(B1);
Serial.println(B10);
Serial.println(B11);
Serial.println(B11111111);
}
void loop()
{
}