mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 18:28:50 +01:00
map adc node to /tmp/devterm_adc
This commit is contained in:
parent
2e449853c3
commit
ec9598f841
@ -119,7 +119,7 @@
|
||||
#define KELVIN 1
|
||||
#define CELSIUS 0
|
||||
|
||||
#define ADC_FILE_PAT "/sys/bus/iio/devices/iio:device*/in_voltage_raw"
|
||||
#define ADC_FILE_PAT "/tmp/devterm_adc"
|
||||
|
||||
#define HEAT_TIME 100 // heat time + (0-f)*46
|
||||
|
||||
|
||||
@ -3,3 +3,5 @@
|
||||
sleep 4
|
||||
chmod 777 /tmp/DEVTERM_PRINTER_IN
|
||||
chmod 777 /tmp/DEVTERM_PRINTER_OUT
|
||||
|
||||
ln -s /sys/bus/iio/devices/iio\:device*/in_voltage*_raw /tmp/devterm_adc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user