Introduction: Led Blinking With CloudX Microcontroller

I do my first project with CloudX and it was easy!

Step 1:

connect 330 ohm resistor to pin1 of CloudX microcontroller and the other leg to Led positive(+) pin and the negative side of the Led to Ground(-).

Step 2: Coding

Add this code to your CloudX Editor.

#include <CloudX/M633.h>
     setup (){
//setup here
         pin1Mode = OUTPUT ;                // set the pin you connect your led to output
         pin1 = LOW ; 


loop() { 
         //Program here
pin1 = HIGH ;                                    // On your Led
delayMs(1000) ;                                // On it for 1 second
pin1 = LOW ;                                    // Off your led
delayMs(1000) ;                                 // Off it for 1 second
}
}