I'm assuming you mean how I'm displaying the values. I'm not, but disabling 
the print statement didn't fix the problem.

On Tuesday, September 12, 2017 at 2:16:24 PM UTC-4, Dennis Lee Bieber wrote:
>
> On Tue, 12 Sep 2017 12:43:26 -0500, Drew Fustini 
> <[email protected] <javascript:>> declaimed the following: 
>
> >Check out this example of how to run a script at startup: 
> >
> https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/doc/run_config-pin_during_startup.md
>  
> > 
> >On Sep 12, 2017 12:35 PM, "Tomas Medina" <[email protected] <javascript:>> 
> wrote: 
> > 
>
> >> from time import sleep 
> >> import Adafruit_BBIO.ADC as ADC 
> >> ADC.setup() 
> >> while True: 
> >>     sonar = ADC.read(pin) 
> >>     print sonar 
>
>         I'd be concerned about that print statement... Where is stdout 
> going 
> for a cron job? 
> -- 
>         Wulfraed                 Dennis Lee Bieber         AF6VN 
>     [email protected] <javascript:>    HTTP://wlfraed.home.netcom.com/ 
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/54148d81-d174-4e5c-82eb-70c7ef3de174%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to