SFU-Embedded-Cosplay / Halo-Suit-BeagleBone

2 stars 0 forks source link

Enable reading of analog pins #29

Closed Tyler-R closed 8 years ago

Tyler-R commented 8 years ago

The anolog pins that read the body temperature can't be read from unless the command
echo cape-bone-iio > /sys/devices/bone_capemgr.*/slots is run. For a quick fix we can add something to the make file to run the command easily and then later we need to encorporate the command into the C code somewhere so this works without a command being issued.

Tyler-R commented 8 years ago

This was fixed in pull requests #32, specifically through the introduction of enable_analog() in halosuit.c during commit b50c20fda3c5197b713403501813ea58616ea903.

Fixes to bugs in the patch were addressed in commit 1e06812cbf1065c4861c7c42cc634bc3a9bad443 and 1e06812cbf1065c4861c7c42cc634bc3a9bad443