Created libraries2

Dependencies:   mbed ultrasonic

Committer:
hebryn
Date:
Tue Mar 10 14:15:41 2015 +0000
Revision:
1:21587a66f911
Parent:
0:017111c9207d
Child:
2:8938c73c2aa8
Added pwm

Who changed what in which revision?

UserRevisionLine numberNew contents of line
VegardMidt 0:017111c9207d 1 #include "mbed.h"
VegardMidt 0:017111c9207d 2 #include "ultrasonic.h"
hebryn 1:21587a66f911 3
hebryn 1:21587a66f911 4 PwmOut TX(D9);
hebryn 1:21587a66f911 5 DigitalOut myled(LED1);
hebryn 1:21587a66f911 6
hebryn 1:21587a66f911 7 int main() {
hebryn 1:21587a66f911 8 TX.period_us(25);
hebryn 1:21587a66f911 9 TX.write(50);
hebryn 1:21587a66f911 10 while(1) {
hebryn 1:21587a66f911 11
hebryn 1:21587a66f911 12 }
hebryn 1:21587a66f911 13 }