Digital pin for integrated arduino
Hello,
I am working on a simple project to use the integrated arduino in lattepand
In regular arduino I am using pin 2 (as "const int button = 2;"), which is DO for lattepanda. Yet when I change to "const int button = D0;", it doesn't get recognized by the program. Any suggestions on how to designate pin D0 in the arduino code ?
Thank you
I am working on a simple project to use the integrated arduino in lattepand
In regular arduino I am using pin 2 (as "const int button = 2;"), which is DO for lattepanda. Yet when I change to "const int button = D0;", it doesn't get recognized by the program. Any suggestions on how to designate pin D0 in the arduino code ?
Thank you