Input Blocks:
You can reach input blocks from the input section of the blockly website as you can see in the following picture.
1-) Read Battery Voltage:
This block is basically reading battery voltage.
Example Projects:
- Print Battery Voltage to screen
- Print 10 times battery voltage to the screen
- Exercise: Convert drone battery voltage to percentage and print to screen
(Hint: output = ((voltage – battery_min) / (battery_max – battery_min)) * 100;)
2-) Read Accelerometer X Y Z Data:
An accelerometer is a device that measures the vibration, or acceleration of motion of a structure.
3-) Read Gyroscope X Y Z Data:
4-) Read Yaw Degree
5-) Read IMU Temperature