Virtual Pet!!!!
The pet is made up by 3 leds ( green – blue – red ) + buzzer and a button.
Representations;
Red LED : state “HIGH” = hungry ( if you don’t feed in 10 mins it will die)
Green LED : state “HIGH” = in sleep
Blue LED : state “HIGH” = play time ( if you don’t play in 5 mins gets angry)
Piezo : state “HIGH” = notification for food and game
Button : pressed; { feeding(3 presses) – playing( 10 presses) }
Red- Green- Blue : “HIGH” = angry ( press button multiple times till led state “LOW”)
Red- Green- Blue : “LOW” = dead (reset the arduino)