Created
November 6, 2022 01:53
-
-
Save YourFriendCaspian/0cd0c8df23049e65c0ff8fa312bce97d to your computer and use it in GitHub Desktop.
Measure the voltage out of our PSU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
awk '{printf ("%0.2f",$1/172.5); }' </sys/devices/iio_sysfs_trigger/subsystem/devices/iio\:device0/in_voltage6_raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment