Digital pin for integrated arduino

userHead eda 2018-11-26 21:03:13 1201 Views1 Replies
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