@Kirschner Christoph I think this will mostly be a kernel hack and some userspace code (C rules!). Some Java might be required, though. I will document it as soon as I finish it, and then maybe you can take a crack at it too!
In the Android world, Java is very important. It actually makes it quite easy to write simple applications. In the OLED example (soon to be documented), I do all my bitmap drawing through the Android Java API. Then convert it into an bit pattern for the OLED.
I saw this in your project and thought it would be cool !! :D mine was written for a 8x8 matrix and I simply rewrote the code so that the game works on this charlieplexed 16x7 matrix and with two buttons instead of a poti :)
Haha ! It's good, still. Put a SPI oled if you can - that will totally blow things up! I found I2C to be a bit slow, and am planning to move it to SPI.
Here's another cool idea I am investigating right now -- it would be amazing if the touch panel (of the primary screen) can be used as a controller. That way, pong can run very fast & the users reflexes can be tested. Best of all, every phone already has a touchscreen. So I think this would be a hit.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
@Kirschner Christoph I think this will mostly be a kernel hack and some userspace code (C rules!). Some Java might be required, though. I will document it as soon as I finish it, and then maybe you can take a crack at it too!
In the Android world, Java is very important. It actually makes it quite easy to write simple applications. In the OLED example (soon to be documented), I do all my bitmap drawing through the Android Java API. Then convert it into an bit pattern for the OLED.
Are you sure? yes | no
That sounds really interessting !!
Can't wait!!
Are you sure? yes | no
Good one!
Are you sure? yes | no
I saw this in your project and thought it would be cool !! :D mine was written for a 8x8 matrix and I simply rewrote the code so that the game works on this charlieplexed 16x7 matrix and with two buttons instead of a poti :)
Are you sure? yes | no
Haha ! It's good, still. Put a SPI oled if you can - that will totally blow things up! I found I2C to be a bit slow, and am planning to move it to SPI.
Here's another cool idea I am investigating right now -- it would be amazing if the touch panel (of the primary screen) can be used as a controller. That way, pong can run very fast & the users reflexes can be tested. Best of all, every phone already has a touchscreen. So I think this would be a hit.
Would fairphone software allow this in some way ?
Are you sure? yes | no
@Shree Kumar
And that is the point where the problems start.. The Software-part..
I'm kind of good in C but Java is very new to me..
But the idea is great !! Sounds quite tricky to play :D
Are you sure? yes | no