ELEC2645 (2018/19) / Mbed 2 deprecated el17lw

Dependencies:   mbed

Revision:
27:c920c5ec31af
Parent:
26:4253656c0755
Child:
28:be77ad6c0bda
--- a/Engine/Engine.cpp	Fri May 03 09:33:34 2019 +0000
+++ b/Engine/Engine.cpp	Sat May 04 13:26:50 2019 +0000
@@ -40,7 +40,7 @@
       lcd.setPixel(i,j,true);
       lcd.printString("TRY AGAIN",30,5);  
       lcd.refresh();
-      gamepad.tone(int(1099 - 15.4*j - 1.2*i), 0.05);  // Frequnecy of tone is 
+      gamepad.tone(int(1099 - 15.4*j - 1.2*i), 0.05);  // Frequency of tone is 
       // dependent on counters.
       wait(0.001);  // Control speed of the sequence.
       sprintf(buffer,"%2d",_player_score); 
@@ -169,7 +169,7 @@
 void Engine::draw_screen_fire(int game_counter, N5110 &lcd) {
   // Prints the dynamic fire at the bottom of the screen.
   // Restricts the max fire height multiplier, which is dependent on player 
-  // score. 
+  // score. Fire will start when score = 3.
   if (_player_score < 15) {
     _fire_height = _player_score;
   } else {