Hi all,
I am building a project (for fun) and would like to include some basic electronics.
I am building a toy holding a parcel with a smile on his face using an array of led's, but when someone takes it off the led's will change colour or to a different configuration like angry. I was thinking of using reed switch and a magnet inside the parcel.
Can someone help me writing a code please? I am quite new to coding
It can be done without Arduino but it may also be being done for learning. In that case it may be used to turn the happy face smile to an inverted smile when parcel removed.
This involves reading a switch, turning on and off some LEDs and a sequence. All fairly simple.
If OP comes back with a simple program attempting to do this, we can help debug if required.