jy901の確認用プログラム わからなければ安澤が何とかします
Dependencies: jy901 SerialStream 03_JY901_practice
Diff: main.cpp
- Revision:
- 1:fc04d6a786b0
- Parent:
- 0:73712a48e06d
- Child:
- 5:85564a8445f9
diff -r 73712a48e06d -r fc04d6a786b0 main.cpp --- a/main.cpp Fri Oct 25 09:36:43 2019 +0000 +++ b/main.cpp Mon Jan 27 09:07:08 2020 +0000 @@ -1,8 +1,8 @@ #include "mbed.h" #include "jy901.h" -JY901 jy(D5, D7); //sda, scl -Serial pc(USBTX, USBRX); +JY901 jy(PB_4, PA_8); //sda, scl +Serial pc(USBTX, USBRX, 115200); int main() { float x, y, z;