hardware classes
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "Servo.h" 00003 #include "USRF_MB1310.h" 00004 00005 //this file is meant for testing 00006 00007 DigitalOut myled(LED1); 00008 Servo test(p23); 00009 int check; 00010 00011 00012 int main() 00013 { 00014 00015 test = 234; 00016 check = test; 00017 while(1) 00018 { 00019 myled = 1; 00020 wait(0.2); 00021 myled = 0; 00022 wait(0.2); 00023 }//blink an led 00024 00025 }
Generated on Sun Jul 17 2022 00:19:35 by
1.7.2