Go to advanced search

by user7743
Mon Sep 02, 2019 6:13 am
Forum: Troubleshooting
Topic: Pi4: USB drive spin down issues
Replies: 2
Views: 544

Pi4: USB drive spin down issues

Hi all, I am wondering if anyone has seen similar. I have just started experimenting with the RPi4 and one thing I would like to do is replace my current ownCloud "sever" which is a RPi3B+. I did a test install over the weekend and saw some strange behaviour which I think is attributed to the USB sp...
by user7743
Mon May 20, 2019 3:13 pm
Forum: Astro Pi
Topic: [Python] Define how many pixels to light
Replies: 2
Views: 3669

Re: [Python] Define how many pixels to light

After thinking about this a bit more I got to the point I wanted. Simple when I thought about it...

Code: Select all

pixels = []
for i in range(64):
    if i < pixelCount:
        pixels.append(RED)
    else:
        pixels.append(CLEAR)
sense.set_pixels(pixels)
by user7743
Mon May 20, 2019 3:10 pm
Forum: Astro Pi
Topic: Joystick registers double
Replies: 2
Views: 3859

Joystick registers double

Hi all, I am having some interesting behaviour with my sense hat. I wrote some code to be invoked on button press with the joystick. I noticed it seems to be being run twice. So, I took some code from teh getting started tutorial and modified it a touch. If I run the code below. For every button pre...
by user7743
Sun May 19, 2019 2:37 pm
Forum: Astro Pi
Topic: [Python] Define how many pixels to light
Replies: 2
Views: 3669

[Python] Define how many pixels to light

Hi all,
Can someone give me a pointer here. I have a sense-hat and I want to be able to give a number between 1 and 64, and then light the corresponding number of pixels in a given colour. How can I programatically do that in Python?
Thanks in advance.
by user7743
Thu Jun 14, 2012 7:37 am
Forum: Troubleshooting
Topic: Strange Boot Combinations
Replies: 4
Views: 1045

Re: Strange Boot Combinations

I suspected that nothing would happen without an SD card in the device other than the red power light. I have ordered a couple more SD cards just to rule those out. I am also sometimes seeing when the device doesn't boot, a very faint green light on the OK led.
by user7743
Wed Jun 13, 2012 1:51 pm
Forum: Troubleshooting
Topic: Strange Boot Combinations
Replies: 4
Views: 1045

Re: Strange Boot Combinations

Hi, I suspected it is not normal behaviour. The PSU that I am using is an original HTC charger rated at 5V, 1A. I suspect the power supply is okay as I have tried it will three different supplies so far (2 x HTC, 1 x Samsung rated at 1.2A), each attaining exactly the same behaviour. Can someone tell...
by user7743
Wed Jun 13, 2012 11:23 am
Forum: Troubleshooting
Topic: Strange Boot Combinations
Replies: 4
Views: 1045

Strange Boot Combinations

Hi all, I have received my pi and I have successfully installed the Debian image onto an SD card and can boot the pi successfully. I have found some strange combinations that I am wondering if this is intended design or some form of error. Let me explain (the combinations below all assume that my SD...

Go to advanced search