Go to advanced search

by subjektivdk
Wed Oct 07, 2015 11:40 am
Forum: Astro Pi
Topic: Headless sense hat with joystick
Replies: 4
Views: 3840

Re: Headless sense hat with joystick

ShiftPlusOne wrote:There's this:
https://python-evdev.readthedocs.org/en/latest/


Also, works is being done on the python-sense-hat library to make using the joystick easier.
Sounds nice - I am looking forward to that.
by subjektivdk
Tue Sep 15, 2015 6:21 pm
Forum: Astro Pi
Topic: Compass pointing West. Why?
Replies: 4
Views: 1791

Re: Compass pointing West. Why?

I finally managed to fully calibrate my Sense Hat today. I tried the compass example program and it points west consistently. I can change this easily, but I would like to know if there is something I did wrong? My phone compass in the same environment does point north, so there is no stray magneti...
by subjektivdk
Tue Sep 15, 2015 9:29 am
Forum: Astro Pi
Topic: Temperature Value Shown on LEDs
Replies: 19
Views: 17338

Re: Temperature Value Shown on LEDs

Updated to just show the temperature continuously (Thx Scotty101) #!/usr/bin/python from sense_hat import SenseHat import time while True: ap = SenseHat() temp = ap.get_temperature() print("Temp: %s C" % temp) # Show temp on console ap.set_rotation(180) # Set LED matrix to scroll from right to left...
by subjektivdk
Thu Sep 10, 2015 1:47 pm
Forum: Astro Pi
Topic: Menu system
Replies: 16
Views: 2462

Re: Menu system

I had been going to develop one but got distracted writing a version of snake and pong! Original Poster, if you have some more details about what you are looking for, I'll see if I have some time when I have my SenseHat handy. Simple graphics for every menu item. Use joystick to move up/down, joyst...
by subjektivdk
Thu Sep 03, 2015 9:40 am
Forum: Astro Pi
Topic: Menu system
Replies: 16
Views: 2462

Re: Menu system

Yes I am aware of the need for it to be much simpler. But the functionality could be more or less the same - one would only be able to see one menu item at a time.
by subjektivdk
Thu Sep 03, 2015 8:46 am
Forum: Astro Pi
Topic: Menu system
Replies: 16
Views: 2462

Re: Menu system

I had been going to develop one but got distracted writing a version of snake and pong! Original Poster, if you have some more details about what you are looking for, I'll see if I have some time when I have my SenseHat handy. I was thinking of something like the code used for the Pimoroni Display-...
by subjektivdk
Wed Sep 02, 2015 8:10 am
Forum: Astro Pi
Topic: Menu system
Replies: 16
Views: 2462

Menu system

Does anyone have an idea to how to make a menu system that is easy to control using the joystick and LED display?
by subjektivdk
Wed Sep 02, 2015 8:08 am
Forum: Astro Pi
Topic: LED not lighting up
Replies: 2
Views: 771

Re: LED not lighting up

They turn off.

I found the problem :oops: I have had a Display-O-Tron 3000 attached and had a script start on boot. And I think that it gave me problems.
by subjektivdk
Tue Sep 01, 2015 6:16 pm
Forum: Astro Pi
Topic: LED not lighting up
Replies: 2
Views: 771

LED not lighting up

I have installed all the required packages as instructed, but I can not get the LEDs to light up.

When the Pi boots up the LED lights up in rainbow colour as the monitor does.

Go to advanced search