Skip to content

Instantly share code, notes, and snippets.

@umer936
Created February 4, 2019 03:46
Show Gist options
  • Save umer936/64cc722b6a066bfb5949737ee5215e91 to your computer and use it in GitHub Desktop.
Save umer936/64cc722b6a066bfb5949737ee5215e91 to your computer and use it in GitHub Desktop.
Grab accelerometer data from laptop
#! /bin/bash
/usr/bin/cat /sys/bus/iio/devices/iio\:device3/in_accel_x_raw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment