Hello,
I considering making a slot-car timer for the PSP. What are my options as to get the race data into my PSP? I seem to remember that something can be done with the headphone jack? If correct, where can I read up on it?
Thanks
PSP external input (Not buttons)
-
- Posts: 80
- Joined: Wed Feb 22, 2006 4:43 am
psp headphone serial port io
Go to http://df38.dot5hosting.com/~remember/chris
Download the "kernel source" toward the bottom.
unpack that archive, and grab
psp_serialport.h
and
psp_serialport.c
from arch/mipsnommu/psp/
Those do direct IO to the serial port. Its self-explanatory if you just look in the .h file. Link psp_serialport.c in with your program and away you go!
Of course, if you are looking for "GPIO" style inputs, where you get to sample its value whenever you want, you are out of luck.. You need to feed that port serial data.
-Chris
Download the "kernel source" toward the bottom.
unpack that archive, and grab
psp_serialport.h
and
psp_serialport.c
from arch/mipsnommu/psp/
Those do direct IO to the serial port. Its self-explanatory if you just look in the .h file. Link psp_serialport.c in with your program and away you go!
Of course, if you are looking for "GPIO" style inputs, where you get to sample its value whenever you want, you are out of luck.. You need to feed that port serial data.
-Chris