Lab4-01_measure_acceleration_lite
Dependencies: mbed HEPTA_SENSOR_lite HEPTA_EPS_lite
Revision 3:b5809ec2a8cd, committed 2021-08-24
- Comitter:
- heptasat2021
- Date:
- Tue Aug 24 02:32:37 2021 +0000
- Parent:
- 2:48467db233ff
- Commit message:
- For Hepta-Sat Lite
Changed in this revision
HEPTA_SENSOR_lite.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HEPTA_SENSOR_lite.lib Fri Aug 20 12:31:01 2021 +0000 +++ b/HEPTA_SENSOR_lite.lib Tue Aug 24 02:32:37 2021 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/heptasat2021/code/HEPTA_SENSOR_lite/#82c6d3329af2 +https://os.mbed.com/users/heptasat2021/code/HEPTA_SENSOR_lite/#258d873c0246
--- a/main.cpp Fri Aug 20 12:31:01 2021 +0000 +++ b/main.cpp Tue Aug 24 02:32:37 2021 +0000 @@ -9,7 +9,9 @@ float ax,ay,az; pc.printf("Acceleration Sensor\r\n"); eps.turn_on_regulator(); //Turn on 3.3V converter + sensor.setup(); for(int i=0;i<50;i++){ + // sensor.sen_acc(&ax,&ay,&az); pc.printf("%f,%f,%f\r\n",ax,ay,az); wait_ms(1000);