Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 5 months ago. This question has been closed. Reason: Off Topic
Identifier "CAN" is undefined "CAN can(PD_0,PD_1)"
Hello. An error occurs when compiling:
- include "mbed.h"
DigitalOut myled(LED1); CAN can1(PD_0, PD_1);
int main() { while(1) { myled = 1; LED is ON wait(0.2); 200 ms myled = 0; LED is OFF wait(1.0); 1 sec } }