Moonpreneur Icon
Student engaged in interactive online math learning session with headphones

RGB Light

MoonCampaign by Krish (8 years)

👍

⭐

Views:

Hello everyone! Today I am excited to present my show and tell project. I created a RGB light using coding. First, I used the “on logo pressed” block to start my program. Then I used digital write pin blocks to control the lights. I set pin P14 for the red light, and then I added pauses to control the timing. I duplicated the code to create the yellow light using both red and green, and then added the green light. This project helped me understand how traffic lights work using coding. I enjoyed making this project because it is fun and useful.

Your rating and comment will go a long way in encouraging Krish and taking their innovation RGB Light to new heights.

terms and conditions

Krish is already a part of this story

MoonCampaigns highlight student's creativity, public speaking, presentation skills, and teamwork, with an impressive track record that speaks volumes. MoonCampaigns, through quarterly Show & Tell, highlight thousands of inspiring learning stories from Moonpreneur students worldwide.

5000+

Innovative MoonCampaigns

20,000+

Minutes of Visual Content

1M+

Unique Video Views

40,000+

Unique Feedbacks and appreciation to kids from community

80%

Parents saw big STEM & leadership gains

95%

Parents Reported Increased Confidence in their child

All about Krish project

Hello everyone! Today I am excited to present my show and tell project. I created a RGB light using coding, and I learned a lot while building it.To start my project, I used the “on logo pressed” block so that the program begins when I press the logo on the micro. Then I used the digital write pin block from the advanced pins section. I set pin P14 to 1 to turn on the red light. This represents the stop signal in a real traffic light.


Launch your child's
success today

What people
have to say

See what people around the world are saying about Krish RGB Light project

Preparing Kids for the AI-Driven Future

Everything parents need to know about building future-ready skills in an AI-powered world.

Why is preparing children for an AI-driven future more important than ever?
What are the key skills AI can never replace?
How does MoonCampaign help children build these future-ready skills?
How does project-based learning prepare kids better than traditional learning?

You Might Also Like

Every child is gifted. Discover how yours can innovate and lead