IMU Display
Lab 7: Real IMU Display
Part 2 - Sensor Visualization
1. โครงสร้างภาพรวมของ Lab
Why? - ทำไมต้องเรียนรู้เรื่องนี้
What? - จะได้เรียนรู้อะไร
How? - จะทำอย่างไร

2. หลักการทำงาน
2.1 CM33-CM55 IPC Architecture
2.2 Simulation vs Hardware - ความแตกต่าง
2.3 UI Layout
3. ฟังก์ชันสำคัญ
3.1 Sensor API Functions
Function
Description
Return
3.2 API Signature
3.3 Key Differences: Sim vs HW
รายการ
PC Simulator
Hardware (PSoC Edge)
3.4 Include Files
4. โค้ดตัวอย่าง
4.1 Global Variables
4.2 Timer Callback - อ่านค่า IMU จริง
4.3 Main Function
5. องค์ความรู้และเทคนิค
5.1 Error Handling Pattern - ต้องตรวจสอบเสมอ
5.2 Debug Print Throttling
5.3 Shared Memory Debug
5.4 Polling Rate Considerations
5.5 Chart Range for Real IMU Data
6. แบบฝึกหัด
Exercise 1: Tilt Angle Display (Arc Gauge)
Exercise 2: Motion Detection Alarm
7. References
Last updated
Was this helpful?