Go to advanced search

by Hal_cat
Mon Jul 22, 2019 5:34 pm
Forum: Python
Topic: gpiozero SPI select CS1 issue
Replies: 3
Views: 379

Re: gpiozero SPI select CS1 issue

I get your point that mixing spidev and gpiozero could cause problems. The only reason I included spidev is that it provides a way to set the SPI clock speed. I've retested after removing spidev and using the following: pot = MCP3002(channel=0, device=1) and it works perfectly. It appears the gpioze...
by Hal_cat
Wed Jul 17, 2019 5:47 pm
Forum: Python
Topic: gpiozero SPI select CS1 issue
Replies: 3
Views: 379

gpiozero SPI select CS1 issue

I am working with Python 3.5 with gpiozero 1.5.0. I have successfully used the following script: from gpiozero import MCP3002 from time import sleep import spidev spi_max_speed = 50000 # 1 MHz for SPI spi = spidev.SpiDev() spi.open(0, 0) spi.max_speed_hz = spi_max_speed while True: #read channel 0 o...
by Hal_cat
Tue Dec 04, 2018 4:59 pm
Forum: Troubleshooting
Topic: Raspberry Pi Model 3 A+ will not boot
Replies: 22
Views: 3856

Re: Raspberry Pi Model 3 A+ will not boot

Having read the comments, I made new attempts today. 1. Previously I had tried to boot with a breadboard attached. Not a brilliant idea. Without the breadboard I could get the green light (ACT) to blink a few times. 2. I upgraded my B+ software to the latest and greatest on the B+ (I'm using Stretch...
by Hal_cat
Sat Dec 01, 2018 7:21 pm
Forum: Troubleshooting
Topic: Raspberry Pi Model 3 A+ will not boot
Replies: 22
Views: 3856

Raspberry Pi Model 3 A+ will not boot

I have a new Model 3 A+, I have tried an existing SD card that works fine on a Model 3B+, and I initialized a NOOBS SD card from the most recent download (Nov. 23, 2018). The red LED lights up on the board, but the green LED never does. The monitor says there is no sync. The power is from the 3B+, a...
by Hal_cat
Fri Dec 15, 2017 6:47 pm
Forum: General discussion
Topic: X11 forwarding to a mac window
Replies: 13
Views: 17018

Re: X11 forwarding to a mac window

This stream is very out of date. I just tried "ssh -X pi@ipaddress" and it brought up XQuartz which made a small sizable window on my Mac.
It is a wonderful window into my RPi 3 B.

More info at https://www.xquartz.org

Enjoy

Go to advanced search