An RC5 decoder and preamp controller. Written on the LPC11U24, Ported to LPC1114 and now 100% stable (January 2016)
Dependents: AppleRemoteController_copy_Production_Version AppleRemoteController_Reference_Only
Diff: Pindef1114.h
- Revision:
- 2:674e2dd56e7d
- Parent:
- 1:bb881a434906
- Child:
- 3:f0cd7c22ca94
--- a/Pindef1114.h Mon Nov 16 17:11:20 2015 +0000 +++ b/Pindef1114.h Fri Nov 20 14:36:14 2015 +0000 @@ -1,25 +1,26 @@ -/************************************ Pinfef1114.h *******************************/ +/************************************ Pinfef1114.h *******************************/ DigitalOut FWD1(dp1); // these are the motor 'H' bridge drive signals -DigitalOut REV1(dp2); // when the volume controll motor is not being driven -//DigitalOut REV1(p11); // they are all OFF -//DigitalOut REV2(p13); +DigitalOut REV1(dp2); // when the volume controll motor is not being driven + // they are all OFF DigitalOut muteout(dp11); // drives the mute relay via a mosfet or transistor -DigitalOut muteind(dp18); // drives the mute relay via a mosfet or transistor +DigitalOut muteind(dp18); // drives the mute indicator on the front panel InterruptIn mute_int(dp13); // mute p/button interrupt -DigitalIn mute(p13); // mute input from associated pushbutton +DigitalIn mute(dp13); // mute input from associated pushbutton +DigitalIn TXD(dp16); InterruptIn rc5int(dp15); // this is the R/C interrupt triggered by the IRx data out -DigitalIn rc5dat(p10); // data is read in from here - its coming from the IRx data out - +DigitalIn rc5dat(dp15); // data is read in from here - its coming from the IRx data out -InterruptIn select_int(dp28); // select rotary encoder interrupt - we use the 'A' O/P to generate the interrupt + +InterruptIn select_int(dp28); // select rotary encoder interrupt - we use the 'A' O/P to generate the interrupt DigitalIn sela(dp28); // select input rotary enc input A DigitalIn selb(dp27); // select input rotary enc input B + DigitalIn stdby(dp26); // standby function p/button input InterruptIn stdby_int(dp26); // standby p/button interrupt in @@ -27,7 +28,7 @@ InterruptIn recloop_int(dp14); //record loop interrupt DigitalIn recloop_in(dp14); // record loop p/button input -DigitalOut recloop_out(dp10); // drives record loop relay via mosfet or transistor +DigitalOut recloop_out(dp5); // drives record loop relay via mosfet or transistor NOTE: WAS dp24 @@ -43,6 +44,6 @@ // DigitalOut sync(p29); //this is a sync pin that is toggled during IR read - used for debug only - +