New 2.x Configurable Keyboard/Gamepad Firmware
Thanks for your reply! With a lot of Serial.print statements I figured out what happens with my Picade's volume. Basically, "!digitalRead(HEADPHONE_DETECT)" always reads true, no matter whether or not...
View ArticleBest way to route pHat DAC output to op-amp
I would like to purchase a pHat DAC to output a mono signal directly into the input of an op-amp. What is the best way to do this — is there a pin that I can use or will I have to solder to the RCA...
View ArticlePicade joystick microswitch issue
I sent an email via the link you provided, but I never received a confirmation or reply, so I'm not sure if it went through or not. Is there any way I can check on the status? Thanks,Jon
View ArticleDot3k menu example - code to halt/reboot the Pi?
Hi folks. I've got my Dot3k installed & working. The sample scripts are executing OK. Now I'm trying to modify a copy of the menu.py script to include power-off and reboot options. Anyone tried...
View ArticlePi Zero media server for car journeys
I've used a Zero running Jessie Lite to make a media server - for the purpose of streaming movies to my kids' Android tablets on long car journeys. It's powered by a USB battery pack. I've used a...
View ArticleDot3k menu example - code to halt/reboot the Pi?
The second argument to the add_item method should be a function, in this case it looks like you're passing in a string. This might work: menu.add_item('Power off', lambda: call("sudo...
View ArticleDot3k menu example - code to halt/reboot the Pi?
Excellent - thank you. Yes, that works. I can now execute sudo halt and sudo reboot using that structure. Just need to run the script at reboot now so the menu is available whenever the system is up....
View ArticleDot3k menu example - code to halt/reboot the Pi?
You could place it into a function, and pass the function in place of the lambda, for example: def my_function(): call("sudo halt", shell=True) menu.add_item('Power off', power_off) You may have...
View ArticleBest way to route pHat DAC output to op-amp
Hey Idreyn, the pHat DAC has some male headers next to the RCA jack to get the signals. Picture: https://cdn.shopify.com/s/files/1/1004/5324/products/Pi-DAC_3_of_3_1024x1024.jpeg?v=1445586297 at the...
View ArticleBest way to route pHat DAC output to op-amp
Hi Steffen, thanks for the quick response! But I believe that picture is of another DAC, the one I am referring to is this one for the Pi Zero — I don't think it has any male headers.
View ArticleDot3k menu example - code to halt/reboot the Pi?
Thanks :) I'll have a play with that once I've got the script running automatically. I'm having trouble getting it to start either @reboot or on a 'every x mins' basis. It's weird; the script can be...
View ArticlePi Zero media server for car journeys
while there's nothing wrong with the python script in the link above I would suggest taking advantage of gpiozero, not mentioning subprocess is probably the recommended method to integrate shell...
View ArticlePi Zero media server for car journeys
just noted you use Jessie Lite and I can't remember if gpiozero is installed by default, so: sudo apt-get update sudo apt-get install python-gpiozero python3-gpiozero and the doc:...
View ArticleBest way to route pHat DAC output to op-amp
ah, i see! sorry! but it's quite the same for the pHat DAC. As you can see on the pictures there's an area next to the headphone jack (between the printed "R" and "L"). it's meant to solder a stereo...
View ArticlePhat DAC and volume control
Hi. I bought a Phat DAC (PI62991), have not received it yet but I have a question. Is there a way through software, when playing a sound, to control the sound level? Say, if I'll play an MP3, is it...
View ArticleNew 2.x Configurable Keyboard/Gamepad Firmware
Hi both, Most of the coding stuff is a bit over my head so I can't really add to the above! However generally the firmware works very well for me in terms of mapping the buttons as gamepad inputs. I...
View ArticleNew 2.x Configurable Keyboard/Gamepad Firmware
1) I'm definitely going to investigate this one, it's a bug 2) This feature was lost when I made volume dynamically re-bindable, but there will be some way to get it back 3) When you plug in...
View Article