Raynerd.co.uk

PIC – Electronic Cup and Ball

This is totally pointless but again I`ve learnt a lot from it, specifically using functions.

It is based on the old Ball and Cup game – you know the one where you have to select which cup the ball is under. Basically, there are three buttons and the first row of leds lights to show your selection. The top row then starts to count and then stops on the computer selection (or under which cup the ball actually was!). If you match the leds, you win and the leds flash. If you don`t you lose and the leds come on solid and then reset.

RSS
YouTube
Twitter
Visit Us
Follow by Email922
Google+
Google+

Leave a Reply

Your email address will not be published.