aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-07-25 19:50:20 +0200
committerjaseg <jaseg@jaseg.net>2014-07-25 19:50:20 +0200
commit49cd6259ba0b556deb167b3fb76a61c3b344a786 (patch)
tree775b108de2c045f8ae8aeae10245551453df8a02 /firmware
parent9744335ad536cf38e9dfd0a8f1a8c066a08ed943 (diff)
downloadmatelight-49cd6259ba0b556deb167b3fb76a61c3b344a786.tar.gz
matelight-49cd6259ba0b556deb167b3fb76a61c3b344a786.tar.bz2
matelight-49cd6259ba0b556deb167b3fb76a61c3b344a786.zip
Europython stuff
Diffstat (limited to 'firmware')
-rw-r--r--firmware/main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/firmware/main.c b/firmware/main.c
index d859454..55abeae 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -40,17 +40,17 @@
#define CRATE_SIZE (CRATE_WIDTH*CRATE_HEIGHT)
#define BUS_SIZE (CRATES_PER_BUS*CRATE_SIZE*BYTES_PER_PIXEL)
unsigned const char const BOTTLE_MAP[CRATE_SIZE] = {
- 17, 16, 15, 14, 13,
- 18, 9, 10, 11, 12,
- 19, 8, 7, 6, 5,
- 0, 1, 2, 3, 4
+ 4, 3, 2, 1, 0,
+ 5, 6, 7, 8,19,
+ 12, 11, 10, 9,18,
+ 13, 14, 15,16,17
};
unsigned const char const FUCKED_UP_BOTTLE_MAP[CRATE_SIZE] = {
- 3, 4, 5, 6, 7,
- 2, 11, 10, 9, 8,
- 1, 12, 13, 14, 15,
- 0, 19, 18, 17, 16
+ 16,17, 18,19, 0,
+ 15,14, 13,12, 1,
+ 8, 9, 10,11, 2,
+ 7, 6, 5, 4, 3
};
unsigned const char const CRATE_MAP[CRATE_COUNT] = {