Browse Source

ow

master
Your Name 3 years ago
parent
commit
b456b85596
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      UserSpaceArduinoUno_via_Ulisp/code/bash_cpu_load/output4.sh

+ 3
- 2
UserSpaceArduinoUno_via_Ulisp/code/bash_cpu_load/output4.sh View File

@ -24,8 +24,9 @@ while test $COUNTER -lt 1; do #run forever #this seems to expect a file named 1
# fi
# echo "DIVIDEBY TWO IS: $DIVIDEBYTWO"
#seems to need a space after the first funct. parenthesis, and the call to function
echo "(defun gopher () (with-i2c (str 96) (write-byte #x40 str) (write-byte $DIVIDEBYTWO str) (write-byte #x00 str))) (gopher)" > /dev/ttyUS>
# echo " (gopher)" > /dev/ttyUSB0
#seems to not like function named gopher, so set to go4. perhaps character limit.
echo "(defun go4() (with-i2c (str 96) (write-byte #x40 str) (write-byte $DIVIDEBYTWO str) (write-byte #x00 str))) (go4)" > /dev/ttyUS>
# echo " (go4)" > /dev/ttyUSB0
sleep 5
done

Loading…
Cancel
Save