
Search found 11 matches
- Fri May 27, 2016 2:20 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Additional buttons on GB0
- Replies: 8
- Views: 8338
- Fri May 27, 2016 12:54 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Additional buttons on GB0
- Replies: 8
- Views: 8338
Re: Additional buttons on GB0
Sure thing! Thanks again for the quick reply. The code is below: #include <Bounce.h> #define NUM_KEYS 14 struct Key { char keycode; Bounce* bounce; }; Key keys[NUM_KEYS]; Key key(char keycode, int pin) { Key *ret = new Key; ret->keycode = keycode; ret->bounce = new Bounce(pin, 10); pinMode(pin, INPU...
- Fri May 27, 2016 12:32 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Additional buttons on GB0
- Replies: 8
- Views: 8338
Additional buttons on GB0
I was thinking about adding a few more buttons on to the gameboy shell (I got a bag of 100 tactile switches and might as well use a few) to have dedicated buttons for saving / loading games. Have already soldered them in series and glued them in exactly like the right and left buttons in the back ca...
- Wed May 25, 2016 5:06 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Normal operating temperatures?
- Replies: 2
- Views: 3235
Re: Normal operating temperatures?
Well, I took the whole thing apart, again, and this time looked specifically at the button connections, there were about 4... being held in place by hot glue. I guess when the glue warmed up, the connections could move a little. Anyway, please ignore the post as my shoddy soldering was to blame.
- Wed May 25, 2016 2:55 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Normal operating temperatures?
- Replies: 2
- Views: 3235
Normal operating temperatures?
Wanted to check and see what the normal operating temperatures of other people GBZ is? When mine gets hot, it has a tendency to become slightly unreliable, specifically when using the right D-pad and the "A" button. These two tend to fail first then it moves inwards. Ended up ripping everything out ...
- Wed May 25, 2016 7:40 am
- Forum: General Chat (Game Boy Zero)
- Topic: Automatically set GPIO 18 to PWM on boot
- Replies: 6
- Views: 7961
Re: Automatically set GPIO 18 to PWM on boot
Just had a chance to try this today and the fix @tindalos suggested worked like a charm! It was much easier adding in a line to the /boot/config.txt file than going through adafruits tutorial on creating and starting a service, especially for a non-linux user. Thanks to you both @wermy and @tindalos...
- Tue May 24, 2016 5:33 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Automatically set GPIO 18 to PWM on boot
- Replies: 6
- Views: 7961
Re: Automatically set GPIO 18 to PWM on boot
So, went through the "Automate It" portion of the guide again and there is still no script running that changes the GPIO to pwm. any other ideas? Will this not work using raspi-gpio commands?
- Tue May 24, 2016 2:44 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Automatically set GPIO 18 to PWM on boot
- Replies: 6
- Views: 7961
Re: Automatically set GPIO 18 to PWM on boot
Hey Wermy! Thanks for such a quick response! I tried setting up the service per Adafruit's instructions and it doesn't seem to take for me. Have set up both the PWMAudio.sh file but changed the text to read: #!/bin/bash /usr/local/bin/raspi-gpio set 18 a5 Otherwise, everything else was kept the same...
- Tue May 24, 2016 2:07 pm
- Forum: General Chat (Game Boy Zero)
- Topic: Automatically set GPIO 18 to PWM on boot
- Replies: 6
- Views: 7961
Automatically set GPIO 18 to PWM on boot
Hey guys, so I am almost there but at the moment have to manually set GPIO18 to PWM every single time I start the system (gets kinda annoying). Can anyone point me in the right direction to add a command to the boot process? The only additional command I want to run on startup is "raspi-gpio set 18 ...
- Sat May 21, 2016 6:36 am
- Forum: Lounge
- Topic: Where is everyone from =) ?
- Replies: 175
- Views: 325623