IMU gyro/accel config fix and README piezo frequency table correction

- Add GYRO_CONFIG0/ACCEL_CONFIG0 register setup in imu_read_direct() to fix gyro always returning -32768
- Increase sensor startup delay from 2ms to 80ms for reliable first read
- Put IMU back to sleep after msp? read to save power
- Fix piezo frequency table: swap freq 0/1 values, remove unused freq 5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 17:27:17 +09:00
parent 9dd1e5387c
commit 836ebe5878
2 changed files with 24 additions and 9 deletions

View File

@@ -37,12 +37,11 @@ VesiScan BASIC은 피에조 초음파 트랜스듀서와 IMU 센서를 이용하
| freq | 주파수 |
|------|--------|
| 0 (기본) | 2.1 MHz |
| 1 | 1.8 MHz |
| 0 | 1.8 MHz |
| 1 (기본) | 2.1 MHz |
| 2 | 2.0 MHz |
| 3 | 1.7 MHz |
| 4 | 2.2 MHz |
| 5 | 1.9 MHz |
### 8채널 MUX 매핑