Skip to content

Commit

Permalink
update version and sysex device id
Browse files Browse the repository at this point in the history
  • Loading branch information
okyeron committed Feb 11, 2023
1 parent 3904bb7 commit eb87a60
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions hachi-ni-firmware/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

/* * firmware metadata */
const int MAJOR_VERSION = 0;
const int MINOR_VERSION = 6;
const int MINOR_VERSION = 7;
const int POINT_VERSION = 0;

const int DEVICE_ID = 3;
const int DEVICE_ID = 5;

// Increment this when data layout in EEPROM changes. May need to write version upgrade readers when this changes.
extern const uint8_t EEPROM_VERSION;
Expand Down
2 changes: 1 addition & 1 deletion hachi-ni-firmware/hachi-ni-firmware.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
// Hachi x Ni (8x2) MIDI Controller
// v0.6
// v0.7.0
// by Steven Noreyko
//
Expand Down
6 changes: 3 additions & 3 deletions webconfig/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
const command = message => (message[4]);
const modelnum = message => (message[5]);
const model = message => ({
0x03: "8x2"
0x05: "8x2"
})[message[5]];
const version = message => (message[6] + "." + message[7] + "." + message[8]);
const ver = message => (message[6]);
Expand Down Expand Up @@ -448,8 +448,8 @@
outbound = outbound + " F7";

//raw(outbound)
//F0 7D 00 00 0D 03 00 00 00 15 16 17 18 07 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 5B 5D 67 68 69 00 00 00 F7
//F0 7D 00 00 0E 03 00 00 00 XX etc
//F0 7D 00 00 0D 05 00 00 00 15 16 17 18 07 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 5B 5D 67 68 69 00 00 00 F7
//F0 7D 00 00 0E 05 00 00 00 XX etc

// console.log(outbound);
const sendit = raw(outbound), timeout = 100;
Expand Down
2 changes: 1 addition & 1 deletion webconfig/midiwork.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// store some variables
const command = e.data[4];
const modelnum = e.data[5];
const model = ({0x03: "8x2"})[e.data[5]];
const model = ({0x05: "8x2"})[e.data[5]];
const ver = e.data[6];
const version = e.data[6] + "." + e.data[7] + "." + e.data[8];
const bank = e.data[9];
Expand Down

0 comments on commit eb87a60

Please sign in to comment.