サーボモーターの動作確認プログラム(nucleo版)
Dependencies: mbed
Diff: main.cpp
- Revision:
- 2:80b1aa8ca93d
- Parent:
- 1:0e1cdc344b27
--- a/main.cpp Fri Jun 29 05:34:35 2018 +0000 +++ b/main.cpp Sat May 30 08:00:31 2020 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" -PwmOut servo(p21); -Serial pc(USBTX,USBRX); +PwmOut servo(A5); +Serial pc(SERIAL_TX, SERIAL_RX); float calc(float); int main()