Skip to content

Commit

Permalink
added PB8DMX-eeprom.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 committed Sep 27, 2023
1 parent a4a692b commit a15972f
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eeprom_generator/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: PB16-eeprom.bin PB16v2-eeprom.bin BBB16-eeprom.bin BBB16v2-eeprom.bin BBB16-Exp-eeprom.bin BBB16-Flex-eeprom.bin Pi_Expansion-eeprom.bin Pi_Zero_24_Diff-eeprom.bin Pi_Zero_Expansion-eeprom.bin Pi_Zero_W_16-eeprom.bin PB16_2_PI-eeprom.bin
all: PB16-eeprom.bin PB16v2-eeprom.bin BBB16-eeprom.bin BBB16v2-eeprom.bin BBB16-Exp-eeprom.bin BBB16-Flex-eeprom.bin Pi_Expansion-eeprom.bin Pi_Zero_24_Diff-eeprom.bin Pi_Zero_Expansion-eeprom.bin Pi_Zero_W_16-eeprom.bin PB16_2_PI-eeprom.bin PB8DMX-eeprom.bin

PB16-eeprom.bin: PB16/*
./create_cape_eeprom PB16 1.0 PB16
Expand Down Expand Up @@ -33,5 +33,8 @@ Pi_Zero_W_16-eeprom.bin: Pi_Zero_W_16/*
PB16_2_PI-eeprom.bin: PB16_2_PI/*
./create_cape_eeprom PB16_2_PI 1.0 PB16_2_PI

PB8DMX-eeprom.bin: PB8DMX/*
./create_cape_eeprom PB8DMX 1.0 PB8DMX

clean:
rm *.bin
20 changes: 20 additions & 0 deletions eeprom_generator/PB8DMX/cape-image.xbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#define 5618de13932a448f83de65b3befd0557GGDzXriIh1qfUbzz_width 40
#define 5618de13932a448f83de65b3befd0557GGDzXriIh1qfUbzz_height 40
static char 5618de13932a448f83de65b3befd0557GGDzXriIh1qfUbzz_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xC0, 0x03, 0x00, 0xE0, 0xF1, 0x7F,
0x04, 0x00, 0xE0, 0x7F, 0x78, 0x04, 0x00, 0xE0, 0xFF, 0x79, 0x04, 0x00,
0xE0, 0xDB, 0x71, 0x0C, 0x00, 0xE0, 0xD8, 0x03, 0x18, 0x00, 0xF0, 0x10,
0x03, 0x10, 0x60, 0x50, 0x00, 0x63, 0x30, 0xE0, 0xE9, 0x06, 0x60, 0x20,
0xA0, 0x99, 0x06, 0x03, 0x60, 0x60, 0x39, 0x80, 0x0B, 0x40, 0x78, 0x3D,
0xB0, 0x0F, 0xF0, 0x78, 0x1D, 0xE0, 0x06, 0x30, 0xBC, 0x1F, 0x00, 0x00,
0x78, 0xBC, 0x1F, 0x00, 0x00, 0x0E, 0x3C, 0xF9, 0x00, 0x00, 0x07, 0xBC,
0xC1, 0x03, 0xE0, 0x06, 0xFE, 0xF0, 0xFF, 0x1F, 0x07, 0xFA, 0xF8, 0x07,
0x00, 0x07, 0xFA, 0xF8, 0x07, 0x00, 0x0C, 0xFA, 0x38, 0x0F, 0x00, 0x0E,
0xFA, 0xF8, 0x1F, 0xC0, 0x1F, 0xFE, 0xFD, 0x3F, 0xC0, 0x0F, 0xFC, 0xFD,
0x3F, 0x00, 0x04, 0xFC, 0xFF, 0x3F, 0x00, 0x04, 0xFC, 0xFE, 0x3F, 0xC0,
0x07, 0xF8, 0x3B, 0x7F, 0xC0, 0x07, 0xF8, 0x03, 0x7F, 0x10, 0x04, 0xE0,
0x07, 0x7F, 0x10, 0x04, 0x80, 0x87, 0x40, 0x10, 0x04, 0x00, 0x8F, 0xE0,
0x10, 0x06, 0x00, 0x98, 0x60, 0x10, 0x02, 0x00, 0xF0, 0x20, 0x10, 0x02,
0x00, 0x80, 0xE1, 0xFF, 0x03, 0x00, 0x00, 0xF5, 0xE7, 0x01, 0x00, 0x00,
0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, };
31 changes: 31 additions & 0 deletions eeprom_generator/PB8DMX/cape-info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"cs" : "vOSJetLzyCe1J0DP3sDybg",
"defaultSettings" :
{
"LEDDisplayType" : "2",
"showAllOptions" : "0"
},
"description" : "PB 8 DMX is a cape for the PocketBeagle that provides 8 DMX outputs.",
"designer" : "Scott Hanson",
"id" : "PB8DMX",
"name" : "PB8DMX",
"disableOutputs": [
{
"file": "config\/channeloutputs.json",
"type": "LEDPanelMatrix"
}
],
"provides": [
"strings"
],
"serialNumber" : "D200904151915",
"version" : "1.0",
"vendor": {
"name": "Scott Nation",
"url": "http:\/\/scottnation.com",
"image": "http:\/\/scottnation.com\/logo.png",
"email": "[email protected]"
}

}

63 changes: 63 additions & 0 deletions eeprom_generator/PB8DMX/defaults/config/co-bbbStrings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"channelOutputs": [
{
"type": "BBBSerial",
"enabled": 1,
"pinoutVersion": "1.x",
"subType": "DMX",
"startChannel": 1,
"channelCount": 16,
"device": "PB8DMX",
"outputs": [
{
"outputNumber": 0,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 1,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 2,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 3,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 4,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 5,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 6,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
},
{
"outputNumber": 7,
"startChannel": 1,
"outputType": "DMX",
"channelCount": 16
}
]
}
]
}
28 changes: 28 additions & 0 deletions eeprom_generator/PB8DMX/defaults/config/gpio.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"pin": "P1-06",
"enabled": true,
"mode": "gpio_pu",
"rising": {
"command": "OLED Navigation",
"multisyncCommand": false,
"multisyncHosts": "",
"args": [
"Enter"
]
}
},
{
"pin": "P1-08",
"enabled": true,
"mode": "gpio_pu",
"rising": {
"command": "OLED Navigation",
"multisyncCommand": false,
"multisyncHosts": "",
"args": [
"Test/Down"
]
}
}
]
16 changes: 16 additions & 0 deletions eeprom_generator/PB8DMX/strings/PB8DMX.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "PB8DMX",
"longName": "PB8 DMX",
"numSerial": 8,
"serial": [
{ "pin": "P1-29" },
{ "pin": "P2-34" },
{ "pin": "P2-30" },
{ "pin": "P1-33" },

{ "pin": "P2-32" },
{ "pin": "P1-36" },
{ "pin": "P2-28" },
{ "pin": "P1-31" }
]
}

0 comments on commit a15972f

Please sign in to comment.