|
Post by vectrexrc on Sept 13, 2014 20:37:29 GMT -5
Does anyone know where to get/find the source code of pic microcontroller program used for the adapter here? www.playvectrex.com/vectech/controller.txti want to try and build an adapter for 3 button game pad but will need the pic code to de-multiplex the start and fire buttons to single line outputs. Eg. Start will become button 1 i could probably figure it out myself but if it's available that would be great. thanks
|
|
alx
Vector Runner
Posts: 10
|
Post by alx on Sept 16, 2014 7:04:16 GMT -5
I've no plan about pic's but I've programed some avr's and I guess I could write an program for the attiny24 (or similar) to do the same job.
|
|
|
Post by vectrexrc on Sept 16, 2014 15:46:29 GMT -5
i have found some code for arduino so think i will use one of those.
|
|
|
Post by vectrexrc on Sept 16, 2014 15:48:20 GMT -5
not sure if arduino can be reduced down to a minimal DIP microprocessor chip - seen the development boards but they seem really quite complicated
|
|
|
Post by vectrexrc on Sept 16, 2014 15:57:39 GMT -5
|
|
alx
Vector Runner
Posts: 10
|
Post by alx on Sept 17, 2014 2:13:15 GMT -5
if you have a source it should be easy to adopt it to not using arduino and thus you could use an attint24 (20 pin dip) with internal clock
|
|
|
Post by gauze on Sept 17, 2014 13:51:18 GMT -5
attiny85 is even cheaper
|
|
alx
Vector Runner
Posts: 10
|
Post by alx on Sept 18, 2014 2:07:21 GMT -5
yes, but it lacks of many io pins which are required! if I read the pic schematics correctly 11 io pins + led/vcc/gnd/... are required.
(oh, and the attiny24 has only 14 pins in total , not 20 - I wrote that wrong)
|
|
|
Post by vectrexrc on Sept 19, 2014 14:15:24 GMT -5
i was thinking atmega8 will checkout you suggestions
|
|
|
Post by vectrexrc on Sept 19, 2014 14:44:43 GMT -5
attiny24 might do it with 12 io pins
|
|
|
Post by gauze on Sept 19, 2014 15:53:54 GMT -5
you could use the 8 pin version with some 74xx chips too but then might as well spend it on more io pins on a ucontroller eh?
|
|