Tetris game for mbed.

Dependencies:   mbed

Committer:
el17mtf
Date:
Sat Mar 17 00:47:03 2018 +0000
Revision:
0:945835fc1c0c
aaa

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el17mtf 0:945835fc1c0c 1 #include "mbed.h"
el17mtf 0:945835fc1c0c 2
el17mtf 0:945835fc1c0c 3 PwmOut lcd(p24);
el17mtf 0:945835fc1c0c 4
el17mtf 0:945835fc1c0c 5 int main(){
el17mtf 0:945835fc1c0c 6 while(1)
el17mtf 0:945835fc1c0c 7 {
el17mtf 0:945835fc1c0c 8 lcd.write(0.1);
el17mtf 0:945835fc1c0c 9 wait_ms(1000);
el17mtf 0:945835fc1c0c 10 lcd.write(0.5);
el17mtf 0:945835fc1c0c 11 }
el17mtf 0:945835fc1c0c 12 }