Kevin Abraham
/
4180Lab1-9
ECE 4180 Lab 1 Part 9
Revision 0:b3e5504ca0ac, committed 2018-10-09
- Comitter:
- abraha2d
- Date:
- Tue Oct 09 00:35:24 2018 +0000
- Commit message:
- Save point
Changed in this revision
diff -r 000000000000 -r b3e5504ca0ac PinDetect.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PinDetect.lib Tue Oct 09 00:35:24 2018 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/AjK/code/PinDetect/#cb3afc45028b
diff -r 000000000000 -r b3e5504ca0ac main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Oct 09 00:35:24 2018 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + +AnalogOut ao(p18); +PwmOut led(LED2); + +float t = 0.0f; + +int main() +{ + while(1) { + ao = sin(t) / 2.0f + 0.5f; + t += 0.31f; + } +}
diff -r 000000000000 -r b3e5504ca0ac mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Oct 09 00:35:24 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187 \ No newline at end of file