Hello Tomas, I just listened to Fustini in this post, https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/doc/run_config-pin_during_startup.md, by starting a service and making two uart pins available to me on boot.
Seth P.S. I hope things are going well in your quest. BBB! On Wednesday, September 13, 2017 at 11:33:12 AM UTC-5, Tomas Medina wrote: > > All my files are already in root. I disabled the security in my Beaglebone > so I can log in with root and have administrative privileges by default. I > already tried crontab and it didn't run. I prefer not to use Cloud9 due to > its limitations. That being said, uploading a file to the autorun folder > didn't work either. > > On Wednesday, September 13, 2017 at 12:24:57 AM UTC-4, Mala Dies wrote: >> >> Hello Medina, >> >> Seth here, again. Oh and dude, you can also throw all that software into >> the Autorun folder on Cloud 9. >> >> Seth >> >> P.S. Just a reminder...if you use sudo -i, you can exit out by just >> typing exit. That will bring you to your debian@... or whatever your name >> is now. You would, before the exit cmd, be root@... and not debian@... or >> so on. >> >> On Tuesday, September 12, 2017 at 12:35:33 PM UTC-5, Tomas Medina wrote: >>> >>> I am trying to write a program that reads the analog values of a sonar >>> on the Beaglebone Black Wireless (Debian image 2017-07-01). The program >>> runs fine if executed from the command line, but when I try to run it >>> automatically at startup (using crontab), the program doesn't run at all >>> (as indicated by a grep command). Here is the relevant code: >>> >>> from time import sleepimport Adafruit_BBIO.ADC as ADC >>> ADC.setup() >>> while True: >>> sonar = ADC.read(pin) >>> print sonar >>> sleep(.5) >>> >>> Any help in this matter would be greatly appreciated. >>> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/fdceac1f-891f-4f5e-b019-be3fe1be73d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.