Co-Pine-ON, Boot co-processor assistant
#2
Love your work... this is exactly what this forum is all about... sharing solutions to problems we've had with others. It certainly ended up neater than I expected it would! Wink

When looking at the next revision of your code, feel free to reuse anything from pine64-SYSLED-heartbeat.sh that you find helpful. It will work as a regularly logged in user, with the following provisions:

In /etc/rc.local, the following (as it needs to be re-applied every boot):
chown -R root:gpio /sys/class/gpio
chmod -R ug+rw /sys/class/gpio

Then the normally logged in user must be in the gpio group i.e.
sudo adduser gpio
sudo usermod -aG gpio your-user-name

I'm intending in the future to make a systemd service version of it so that the /etc/rc.local mods aren't needed. 

Also, a comment at the top of your PIC source to indicate that it is for the PIC12F1501 Wink

EDIT: I also meant to say I'm also eager to hear more about your PICKLY Google Blockly work, as it looks like a great way to get started with PIC programming. Whilst not strictly pine64 related, it deserves future mention here as Google Blockly can also export PHP and Python code, which would be a great starting place for newcomers! Wink
  Reply


Messages In This Thread
RE: Co-Pine-ON, Boot co-processor assistant - by pfeerick - 06-25-2017, 06:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Can't boot when SD card inserted kivox 5 1,253 03-15-2020, 06:00 AM
Last Post: kivox
  Node Red on the Pine DonFL 0 626 12-16-2019, 04:21 PM
Last Post: DonFL
Photo Pine A64+ from Kick starter running Pi-Hole netHolio 0 801 12-02-2019, 09:36 PM
Last Post: netHolio
  Boot from HDD via usb BnEc 1 709 11-29-2019, 04:39 AM
Last Post: evilbunny
  Pine A64+ vs LCD do not boot DDS 2 870 11-25-2019, 11:44 AM
Last Post: tllim
  NetBSD for Pine A64(+) Luke 3 2,065 10-05-2019, 11:04 PM
Last Post: mrgtwentythree
  Can anyone run Boinc on Pine models? MarijusR 6 1,908 09-11-2019, 06:41 AM
Last Post: letarg
  There is a usable distro for Pine A64? polv89 6 3,862 06-09-2019, 03:32 PM
Last Post: dkebler
  Pine A64 stuck in boot process joey 1 911 05-28-2019, 09:07 PM
Last Post: joey
  Won't power on/boot -- kickstarter A64 2GB fuzzycuffs 3 2,115 02-22-2019, 03:25 AM
Last Post: GaryFunk

Forum Jump:


Users browsing this thread: 1 Guest(s)