tht / T3Libs

Libraries for Teensy 3
4 stars 4 forks source link

IRQ pin changes #9

Closed se5a closed 11 years ago

se5a commented 11 years ago

An attempt to make it easier to change IRQ pin on the T3. since I was using pin4 on a project and I'd brought out the other digital pin pads on my T3 it made sense for me to use a non PWM pin, so I made these changes to make it easier for future IRQ pin changes. in this version, just changing '#define IRQPIN 4' line in RF12_T3.h is all that is required to change the IRQ pin.

tht commented 11 years ago

Thanks for your feedback. A nice idea...

A future update will bring more flexibility in pin assignment, most likely combined with the possibility to attach two RFM12Bs. I had some ugly problems while testing this. Could be related to IRQ handling but I'm not sure.

As I already started to work on this new codebase I will not merge back your changes. It just complicates stuff on my side...

se5a commented 11 years ago

fair enough. Another thing you might want to consider is using Serial rather than Uart for the example. keep it simple.

tht commented 11 years ago

Finally switched to Serial with commit c80d358f47bcb9d161696c5dc258973eb6efa57c. Thanks for the suggestion.