Vishwa Iyer / Mbed 2 deprecated MBED_Pinball_4180_final_project

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
vishiswoz
Date:
Tue Apr 30 03:49:07 2019 +0000
Parent:
1:b3e26728357c
Commit message:
updated code

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Apr 30 03:31:51 2019 +0000
+++ b/main.cpp	Tue Apr 30 03:49:07 2019 +0000
@@ -53,16 +53,19 @@
         if (leftButton == 0)
         {
             //add points here?
+            score += 2000;
         }
         
         if (middleButton == 0)
         {
             //add points here?
+            score += 2000;
         }
         
         if (rightButton == 0)
         {
             //add points here?
+            score += 2000;
         }