diff options
author | dakkar <dakkar@thenautilus.net> | 2018-03-30 20:05:41 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-03-30 20:05:41 +0100 |
commit | 7306bfcbe1009b45192ff5592c5141aab44cd99b (patch) | |
tree | 647ae08c8bc7b6829fa703ee1047ffa80d78b217 /trasmitter/README.rst.txt | |
parent | the script does *something*, but the timing is awful (diff) | |
download | thermostat-7306bfcbe1009b45192ff5592c5141aab44cd99b.tar.gz thermostat-7306bfcbe1009b45192ff5592c5141aab44cd99b.tar.bz2 thermostat-7306bfcbe1009b45192ff5592c5141aab44cd99b.zip |
timing tests
Diffstat (limited to 'trasmitter/README.rst.txt')
-rw-r--r-- | trasmitter/README.rst.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/trasmitter/README.rst.txt b/trasmitter/README.rst.txt index 4b9e310..d2fd957 100644 --- a/trasmitter/README.rst.txt +++ b/trasmitter/README.rst.txt @@ -38,3 +38,12 @@ sysfs interface`_, seem to be fast enough for our purposes. See the ``sender-chip.pl`` test program. +The timing via the sysfs interface is awful. + +It looks like we can drive the pins (not the XIO ones) via +memory-mapped registers: the sunxi-tools ``pio.c`` has most of the +code needed. + +We could write a C program to just send the signal train. Look at +``clock.c`` for a way to handle fast / real-time scheduling and +delays. |