Closer, edited /opt/bootlocal.sh to apply pigpio at boot up as per
'this'
(https://forums.slimdevices.com/showthread.php?111502-Jivelite-on-a-Pirate-Audio-240x240-screen/page35)
page


Code:
--------------------
    #!/bin/sh 
  # start pigpiod daemon
  pigpiod -t 0 -f -l -s 10
  
  # wait for pigpiod to initialize - indicated by 'pigs t' exit code of zero
  
  count=10 # approx time limit in seconds
  while ! pigs t >/dev/null 2>&1 ; do
  if [ $((count--)) -le 0 ]; then
  printf "\npigpiod failed to initialize within time limit\n"
  exit 1 
  fi
  #    printf "\nWaiting for pigpiod to initialize\n"
  sleep 1
  done
  printf "\npigpiod is running\n"
--------------------


And then added Ralphy's lcd-brightness.sh file as per 'these'
(https://forums.slimdevices.com/showthread.php?111502-Jivelite-on-a-Pirate-Audio-240x240-screen/page14)
instructions. I further edited the file to change the rmax=255 so that
it matches the dimming range of the display and then tested it at the
command line and it works.

What I can't workout from here is how it gets called in JiveLite?


------------------------------------------------------------------------
garym999's Profile: http://forums.slimdevices.com/member.php?userid=4943
View this thread: http://forums.slimdevices.com/showthread.php?t=112528

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to