diff --git a/brotherax240_cntrl/include/matrix_ax130.h b/brotherax240_cntrl/include/matrix_ax130.h new file mode 100644 index 0000000..6c44697 Binary files /dev/null and b/brotherax240_cntrl/include/matrix_ax130.h differ diff --git a/brotherax240_cntrl/include/matrix_ax240.h b/brotherax240_cntrl/include/matrix_ax240.h new file mode 100644 index 0000000..c819014 Binary files /dev/null and b/brotherax240_cntrl/include/matrix_ax240.h differ diff --git a/brotherax240_cntrl/platformio.ini b/brotherax240_cntrl/platformio.ini index e517da4..a07b979 100644 --- a/brotherax240_cntrl/platformio.ini +++ b/brotherax240_cntrl/platformio.ini @@ -9,13 +9,29 @@ ; https://docs.platformio.org/page/projectconf.html -[env:genericSTM32F103C8] +[env:BotherAX240] platform = ststm32 board = genericSTM32F103C8 framework = arduino build_flags = -D HAVE_HWSERIAL1 + -D BROTHERAX240 + +upload_protocol = serial + +monitor_speed = 9200 + + +[env:BotherAX130] +platform = ststm32 +board = genericSTM32F103C8 +framework = arduino + +build_flags = + -D HAVE_HWSERIAL1 + -D BROTHERAX130 + -D PIN_COIL_SENSE=PA11 upload_protocol = serial diff --git a/brotherax240_cntrl/src/main.cpp b/brotherax240_cntrl/src/main.cpp index a78f27b..e194956 100644 Binary files a/brotherax240_cntrl/src/main.cpp and b/brotherax240_cntrl/src/main.cpp differ diff --git a/docs/Brother AX 130 Keybordlayout.ods b/docs/Brother AX 130 Keybordlayout.ods new file mode 100644 index 0000000..51ea6b2 Binary files /dev/null and b/docs/Brother AX 130 Keybordlayout.ods differ