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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello There,
I am a beginner, all I am trying to do is instead of using LED1 with "DigitalOut myled(LED1)" replaced with PA_5. However, LED1 remains always ON....What I am missing?
User PA_5 equal LED1 DigitalOut myled(PA_5);
int main() { while(1) { myled = 1; LED is ON wait(2.0); 2 seconds delay myled = 0; LED is OFF wait_ms(0.5); 0.5 milli seconds delay } }
Cheers Australia-Colombia