Home » 6-8 Module 2 » Arduino Starter Kit » ScrapLabs Challenger: Blinking LED on prime intervals

ScrapLabs Challenger: Blinking LED on prime intervals

All of us are aware of the LED blinking code from arduino examples section. We have also done some experimentation with the way LED blinking can be manipulated.

I have a challenger for you based on similar arrangements.

C68M3K2.P3 - Arduino Starter Kit - Activity 3 (Side 1)_bb

Connecting LED to the Arduino board

The goal is to make the LED blink in a manner that it is ON for seconds – 1,2,3,5,7,11,13,17,19,23,27… (even intervals) and OFF for all others.

The response graph would look like the following:

1 signifies ON state and 0 signifies OFF state

1 signifies ON state and 0 signifies OFF state

Write the code and make a video of your response. Send both the code and the video to [email protected] to participate. Make sure to include your full name, class, section and school.

It is recommended that you upload the video to YouTube and send us the link. Kudos! 🙂

Post ref: #C68M3K1.SC

Comments are closed.