Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <pop7.h> // POP-X2 Board
- void setup() {
- setTextSize(2);
- OK();
- }
- void loop() {
- while(!sw_OK()){
- servo(1,knob(180));
- glcd(0,0,"Servo1");
- glcd(1,0,"%d ",knob(180));
- }
- while(!sw_OK()){
- servo(2,knob(180));
- glcd(0,0,"Servo2");
- glcd(1,0,"%d ",knob(180));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment