diff --git a/UserSpaceArduinoUno_via_Ulisp/code/bash_cpu_load/output4.sh b/UserSpaceArduinoUno_via_Ulisp/code/bash_cpu_load/output4.sh index e10e74e..e5f2010 100644 --- a/UserSpaceArduinoUno_via_Ulisp/code/bash_cpu_load/output4.sh +++ b/UserSpaceArduinoUno_via_Ulisp/code/bash_cpu_load/output4.sh @@ -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