Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:c0_read_battery_voltage [2016/04/04 17:50] ruppi |
en:c0_read_battery_voltage [2016/04/04 17:51] ruppi |
||
---|---|---|---|
Line 6: | Line 6: | ||
#!/bin/sh | #!/bin/sh | ||
# | # | ||
- | # Read Battery voltage on ODROID-C0 | + | # Read Battery Voltage on ODROID-C0 |
# | # | ||
Line 15: | Line 15: | ||
</code> | </code> | ||
- | Please change the script permissions to execute with chmod | + | Please change the script permissions to execute with chmod. |
<code> | <code> | ||
sudo chmod a+x readbatvol.sh | sudo chmod a+x readbatvol.sh | ||
</code> | </code> | ||
+ | |||
+ | Execute the script to Read battery voltage. | ||
+ | |||
+ | <code> | ||
+ | ./readbatvol.sh | ||
+ | </code> | ||
+ |