From 4673a823868786ee1c1fe0604786608f03c048aa Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 20 Jul 2014 13:08:35 +0200 Subject: Fixed crate map for bcc setup --- firmware/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware') diff --git a/firmware/main.c b/firmware/main.c index 52b6360..d859454 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -54,10 +54,10 @@ unsigned const char const FUCKED_UP_BOTTLE_MAP[CRATE_SIZE] = { }; unsigned const char const CRATE_MAP[CRATE_COUNT] = { - 0x07, 0x05, 0x03, 0x01, 0x10, 0x12, 0x14, 0x16, - 0x06, 0x04, 0x02, 0x00, 0x11, 0x13, 0x15, 0x17, - 0x26, 0x24, 0x22, 0x20, 0x31, 0x33, 0x35, 0x37, - 0x27, 0x25, 0x23, 0x21, 0x30, 0x32, 0x34, 0x36 + 0x07, 0x05, 0x03, 0x01, 0x31, 0x33, 0x35, 0x37, + 0x06, 0x04, 0x02, 0x00, 0x30, 0x32, 0x34, 0x36, + 0x17, 0x15, 0x13, 0x11, 0x21, 0x23, 0x25, 0x27, + 0x16, 0x14, 0x12, 0x10, 0x20, 0x22, 0x24, 0x26 }; #define SYSTICKS_PER_SECOND 100 -- cgit From 49cd6259ba0b556deb167b3fb76a61c3b344a786 Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 25 Jul 2014 19:50:20 +0200 Subject: Europython stuff --- firmware/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'firmware') 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] = { -- cgit From 50813d444ead5cc92a448f0a7feff6b22fba06cd Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 25 Jul 2014 20:07:49 +0200 Subject: Geometry fixes for mainhall setup --- firmware/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware') diff --git a/firmware/main.c b/firmware/main.c index 52b6360..4b325fa 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -54,10 +54,10 @@ unsigned const char const FUCKED_UP_BOTTLE_MAP[CRATE_SIZE] = { }; unsigned const char const CRATE_MAP[CRATE_COUNT] = { - 0x07, 0x05, 0x03, 0x01, 0x10, 0x12, 0x14, 0x16, - 0x06, 0x04, 0x02, 0x00, 0x11, 0x13, 0x15, 0x17, - 0x26, 0x24, 0x22, 0x20, 0x31, 0x33, 0x35, 0x37, - 0x27, 0x25, 0x23, 0x21, 0x30, 0x32, 0x34, 0x36 + 0x36, 0x34, 0x32, 0x30, 0x11, 0x13, 0x15, 0x17, + 0x37, 0x35, 0x33, 0x31, 0x10, 0x12, 0x14, 0x16, + 0x27, 0x25, 0x23, 0x21, 0x01, 0x03, 0x05, 0x07, + 0x26, 0x24, 0x22, 0x20, 0x00, 0x02, 0x04, 0x06 }; #define SYSTICKS_PER_SECOND 100 -- cgit