Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // กดสวิตช์แล้ว LED ติด กดอีกครั้ง LED ดับ
- #include <popx2.h>
- int i=0;
- void setup() {setTextSize(3);}
- void loop() {
- if(!in(30)){
- while(!in(30));
- if(i==0){
- out(24,1); i=1;
- }
- else{
- out(24,0); i=0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment