add MDR-U info
This commit is contained in:
parent
32dd7bbee6
commit
bd339641ad
|
@ -1,4 +1,4 @@
|
||||||
/* micro-controller firmware fot the Linear MDR receiver
|
/* micro-controller firmware fot the Linear MDR/MDR2/MDR-U receiver
|
||||||
Copyright (C) 2014 Kévin Redon <kingkevin@cuvoodoo.info>
|
Copyright (C) 2014 Kévin Redon <kingkevin@cuvoodoo.info>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -23,14 +23,14 @@
|
||||||
|
|
||||||
/* the peripherals connected to the pins */
|
/* the peripherals connected to the pins */
|
||||||
#define RELAY1 _RA2 /* pin 1 */
|
#define RELAY1 _RA2 /* pin 1 */
|
||||||
#define RELAY2 _RA3 /* pin 2 */
|
#define RELAY2 _RA3 /* pin 2 only for MDR2 */
|
||||||
/* pin 3 is connected to ground */
|
/* pin 3 is connected to ground */
|
||||||
/* pin 4 is used as master clear */
|
/* pin 4 is used as master clear */
|
||||||
/* pin 5 is Vss (ground) */
|
/* pin 5 is Vss (ground) */
|
||||||
#define SWITCH1 _RB0 /* pin 6 (on ground when pressed) */
|
#define SWITCH1 _RB0 /* pin 6 (on ground when pressed) */
|
||||||
#define LED _RB1 /* pin 7 (used as sink) */
|
#define LED _RB1 /* pin 7 (used as sink) */
|
||||||
#define SWITCH2 _RB2 /* pin 8 (on ground when pressed) */
|
#define SWITCH2 _RB2 /* pin 8 (on ground when pressed) */
|
||||||
/* pin 9 is for a secret function, set by jumper WJ1, Vdd per default */
|
/* pin 9 is to identify board. Vdd for MDR, ground for MDR-U */
|
||||||
/* pin 10 is not connected */
|
/* pin 10 is not connected */
|
||||||
/* pin 11 in not connected */
|
/* pin 11 in not connected */
|
||||||
/* pin 12, external 24LC256 EEPROM */
|
/* pin 12, external 24LC256 EEPROM */
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
/* pin 15 is clonnected to external 4MHz ceramic resonator */
|
/* pin 15 is clonnected to external 4MHz ceramic resonator */
|
||||||
/* pin 16 is clonnected to external 4MHz ceramic resonator */
|
/* pin 16 is clonnected to external 4MHz ceramic resonator */
|
||||||
#define RADIO _RA0 /* radio signal receiver, filtered by LM358N */
|
#define RADIO _RA0 /* radio signal receiver, filtered by LM358N */
|
||||||
/* pin 18 is for a secret function, set by jumper WJ2, Vdd per default */
|
/* pin 18 is to identify board. Vdd for MDR, ground for MDR-U */
|
||||||
|
|
||||||
/* simple functions */
|
/* simple functions */
|
||||||
#define led_off() LATB |= LED
|
#define led_off() LATB |= LED
|
||||||
|
|
Loading…
Reference in New Issue