At our last Hull Raspberry Jam, one of our budding Python coders asked me how she could detect keyboard input in a Python script and perform different actions dependent upon which key was pressed.
We both did a bit of searching around and found a few sample pieces of code, but none of them quite did what we wanted. As we were leaving I said that I would research it a bit more, and if she had not found out how to do it before the next Hull Raspberry Jam, I would have some working code for her to use.
I don’t want to ruin the surprise about what her plan is, but needless to say, it will be a very cool project if she completes what she wants to do, more on that later!
Continue reading Detecting keyboard input in Python
This weekend I was lucky enough to be involved with hosting the second Raspberry Pi Jam event that Hull has seen. Through Twitter, Claire Garside and myself got talking and a tweet of my Raspberry Pi robot I was building one weekend, led to a discussion about re-igniting the Raspberry Jam events in Hull.
Thanks must go to Claire and the Leeds Raspberry Jam team for the loan of all the equipment which allowed our event to go ahead. Thanks also must go to Malet Lambert and Stephen Logan for allowing us to use their space.
The event kicked off with an introduction to the Raspberry Pi and allowed people to get hands on setting up their Pi and getting everything running. They then had a chance to hack a Scratch game and try to improve it.
Continue reading Hull Raspberry Jam – 23rd April 2016