Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <popx2.h>
- void setup(){ setTextSize(2); }
- void loop(){
- if(uart_ready()){
- x=uart_getkey();
- glcd(1,1,"%b",x);
- if(x=='a'){fd(80);}
- else if (x=='c'){sl(80);}
- else if(x=='d'){sr(80);}
- else if(x=='b'){ao();}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment