rfm12 joystick support working, default config for borgjacke
This commit is contained in:
parent
6a4317ca73
commit
f8a9886e2b
|
@ -41,19 +41,18 @@ SCROLLTEXT_BUFFER_SIZE=128
|
||||||
SCROLL_X_SPEED=20
|
SCROLL_X_SPEED=20
|
||||||
SCROLL_Y_SPEED=20
|
SCROLL_Y_SPEED=20
|
||||||
SCROLLTEXT_TEXT="</#www.das-labor.org"
|
SCROLLTEXT_TEXT="</#www.das-labor.org"
|
||||||
|
RFM12_SUPPORT=y
|
||||||
|
PORT_SPI=PORTB
|
||||||
|
BIT_SPI_SS=4
|
||||||
|
BIT_MOSI=5
|
||||||
|
BIT_MISO=6
|
||||||
|
BIT_SCK=7
|
||||||
|
PORT_SS=PORTB
|
||||||
|
BIT_SS=4
|
||||||
JOYSTICK_SUPPORT=y
|
JOYSTICK_SUPPORT=y
|
||||||
PARALLEL_JOYSTICK_SUPPORT=y
|
# PARALLEL_JOYSTICK_SUPPORT is not set
|
||||||
JOYSTICK_PIN_UP=PINB
|
|
||||||
JOYSTICK_BIT_UP=0
|
|
||||||
JOYSTICK_PIN_DOWN=PINB
|
|
||||||
JOYSTICK_BIT_DOWN=1
|
|
||||||
JOYSTICK_PIN_LEFT=PINB
|
|
||||||
JOYSTICK_BIT_LEFT=2
|
|
||||||
JOYSTICK_PIN_RIGHT=PINB
|
|
||||||
JOYSTICK_BIT_RIGHT=3
|
|
||||||
JOYSTICK_PIN_FIRE=PIND
|
|
||||||
JOYSTICK_BIT_FIRE=3
|
|
||||||
# NES_PAD_SUPPORT is not set
|
# NES_PAD_SUPPORT is not set
|
||||||
|
RFM12_JOYSTICK_SUPPORT=y
|
||||||
# CAN_SUPPORT is not set
|
# CAN_SUPPORT is not set
|
||||||
MENU_SUPPORT=y
|
MENU_SUPPORT=y
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
#define RFM12_BASEBAND RFM12_BAND_433
|
#define RFM12_BASEBAND RFM12_BAND_433
|
||||||
|
|
||||||
//center frequency to use (+- FSK frequency shift)
|
//center frequency to use (+- FSK frequency shift)
|
||||||
#define RFM12_FREQ 433000000UL
|
#define RFM12_FREQUENCY 433000000UL
|
||||||
|
|
||||||
//FSK frequency shift in kHz
|
//FSK frequency shift in kHz
|
||||||
#define FSK_SHIFT 45000
|
#define FSK_SHIFT 45000
|
||||||
|
|
Loading…
Reference in New Issue