Skip to content

Commit 49697cc

Browse files
committed
Merge PR #48 from 'ste101/patch-1'
2 parents 1e9fb3e + 9ded7e0 commit 49697cc

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Software/CV.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ uint8_t CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
127127
0b00000000, //CV_102 -
128128
0b00000000, //CV_103 -
129129
0b00000000, //CV_104 -
130-
0b00000000, //CV_105 -
131-
0b00000000, //CV_106 -
132-
0b00000000, //CV_107 -
133-
0b00000000, //CV_108 -
134-
0b00000000, //CV_109 -
130+
0b00000000, //CV_105 - user data
131+
0b00000000, //CV_106 - user data
132+
0b00000001, //CV_107 - MSB Manufacturer ID for DIY https://www.decoderdb.com/database/decoderdb-list
133+
0b00001011, //CV_108 - LSB Manufacturer ID
134+
DECODER_ID, //CV_109 - Decoder ID defined by board .h file (e.g. RP2040-Decoder-board-USB.h)
135135
0b00000000, //CV_110 -
136136
0b00000000, //CV_111 -
137137
///// PWM - Configuration //////////////////////////////////////////////////////////////////////////////////////////////

Software/RP2040-Decoder-board-Legacy.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
// For board detection
2121
#define RP2040_DECODER
2222

23+
// Decoder ID (CV_109)
24+
#define DECODER_ID 1
25+
2326
// In case the xosc takes longer to stabilize than usual
2427
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
2528
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64

Software/RP2040-Decoder-board-USB.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
// For board detection
2020
#define RP2040_DECODER
2121

22+
// Decoder ID (CV_109)
23+
#define DECODER_ID 2
24+
2225
// In case the xosc takes longer to stabilize than usual
2326
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
2427
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64

0 commit comments

Comments
 (0)