hello!
recently i joined an arduino summerschool. the first day i was working on one of their computers and it worked just fine. the next day i decided to bring my recently bought laptop (hp omen if that helps) and then the issues came up. for the first 2 programs everything as working perfectly fine like on the summer school computer but then it started popping up message "error compiling for board Arduino/Genuino Mega of Mega 2560" i was really confused and so was the teacher. i really hope i can get help. im using arduino 1.8.5
error message:
Arduino:1.8.5 (Windows 10), Plošča:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:32:0,
from sketch\motor_test.ino.cpp:1:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/binary.h:31:12: error: expected unqualified-id before numeric constant
#define B1 1
^
C:\Users\38640\Desktop\arduino folder\motor_test\motor_test.ino:9:5: note: in expansion of macro 'B1'
int B1=2;
^
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
if you need anything just type back and i will send the information