Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c0_read_battery_voltage [2016/04/04 17:53] ruppi |
en:c0_read_battery_voltage [2016/04/04 18:03] (current) ruppi |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Read Battery Voltage Script on ODROID-C0 ==== | ==== Read Battery Voltage Script on ODROID-C0 ==== | ||
- | This script read the voltage of battery.\\ | + | This script read the voltage of battery from ADC channel 0.\\ |
Save the following code as readbatvol.sh in home directory.\\ | Save the following code as readbatvol.sh in home directory.\\ | ||
Line 21: | Line 21: | ||
</code> | </code> | ||
- | Execute the script to Read battery voltage. | + | Execute the script to read battery voltage. |
<code> | <code> |