Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ipst.h>
- int x=1;
- void setup(){
- // OK();
- }
- void loop()
- {
- while(x<129){
- LED8(16,x);
- glcd(0,0,"%d ",x);
- x=x*2;
- delay(500);
- }
- while(x>0){
- LED8(16,x);
- glcd(0,0,"%d ",x);
- x=x/2;
- delay(500);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement