This commit is contained in:
2019-02-07 19:36:13 +01:00
parent 00f4b4b16f
commit 3a7a887ef1
11 changed files with 470 additions and 366 deletions
+12 -9
View File
@@ -1,19 +1,22 @@
-I/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino
-I/home/nathan/.platformio/packages/framework-arduinoavr/variants/micro
-I/home/nathan/.platformio/lib/Adafruit MQTT Library_ID1092
-I/home/nathan/.platformio/lib/ArduinoJson_ID64/src
-I/home/nathan/.platformio/lib/Encoder
-I/home/nathan/.platformio/lib/Encoder/utility
-I/home/nathan/.platformio/lib/Keypad_ID165/src
-I/home/nathan/.platformio/lib/MIDI controller/src
-I/home/nathan/.platformio/lib/MIDIUSB_ID1104/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SoftwareSerial/src
-I/home/nathan/.platformio/lib/ArduinoJson_ID64/src
-I/home/nathan/.platformio/lib/Keypad_ID165/src
-I/home/nathan/.platformio/lib/Multiplexer_ID320
-I/home/nathan/.platformio/lib/PubSubClient_ID89/src
-I/home/nathan/.platformio/lib/Tone_ID1420
-I/home/nathan/.platformio/lib/WifiManager_ID567
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/EEPROM/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/HID/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SPI/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SoftwareSerial/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/Wire/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_CircuitPlayground
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_CircuitPlayground/utility
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_Circuit_Playground
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_Circuit_Playground/utility
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Bridge/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Esplora/src
-I/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Ethernet/src
@@ -37,9 +40,9 @@
-I/home/nathan/.platformio/packages/toolchain-atmelavr/lib/gcc/avr/5.4.0/include-fixed
-I/home/nathan/.platformio/packages/toolchain-atmelavr/lib/gcc/avr/5.4.0/include
-I/home/nathan/.platformio/packages/tool-unity
-I/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/include
-I/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/src
-DPLATFORMIO=40000
-I/home/nathan/Documents/PlatformIO/Projects/Midi/include
-I/home/nathan/Documents/PlatformIO/Projects/Midi/src
-DPLATFORMIO=30604
-DARDUINO_AVR_MICRO
-DF_CPU=16000000L
-DARDUINO_ARCH_AVR
+3 -3
View File
@@ -1,8 +1,8 @@
{
"execPath": "/home/nathan/.platformio/packages/toolchain-atmelavr/bin/avr-g++",
"gccDefaultCFlags": "-fsyntax-only -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega32u4 -DPLATFORMIO=40000 -DARDUINO_AVR_MICRO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -DUSB_VID=0x2341 -DUSB_PID=0x0037 -DUSB_PRODUCT=\"Arduino Micro\" -DUSB_MANUFACTURER=\"Arduino\" -D__AVR_ATmega32U4__",
"gccDefaultCppFlags": "-fsyntax-only -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega32u4 -DPLATFORMIO=40000 -DARDUINO_AVR_MICRO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -DUSB_VID=0x2341 -DUSB_PID=0x0037 -DUSB_PRODUCT=\"Arduino Micro\" -DUSB_MANUFACTURER=\"Arduino\" -D__AVR_ATmega32U4__",
"gccDefaultCFlags": "-fsyntax-only -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega32u4 -DPLATFORMIO=30604 -DARDUINO_AVR_MICRO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -DUSB_VID=0x2341 -DUSB_PID=0x0037 -DUSB_PRODUCT=\"Arduino Micro\" -DUSB_MANUFACTURER=\"Arduino\" -D__AVR_ATmega32U4__",
"gccDefaultCppFlags": "-fsyntax-only -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega32u4 -DPLATFORMIO=30604 -DARDUINO_AVR_MICRO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -DUSB_VID=0x2341 -DUSB_PID=0x0037 -DUSB_PRODUCT=\"Arduino Micro\" -DUSB_MANUFACTURER=\"Arduino\" -D__AVR_ATmega32U4__",
"gccErrorLimit": 15,
"gccIncludePaths": "/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino,/home/nathan/.platformio/packages/framework-arduinoavr/variants/micro,/home/nathan/.platformio/lib/MIDI controller/src,/home/nathan/.platformio/lib/MIDIUSB_ID1104/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SoftwareSerial/src,/home/nathan/.platformio/lib/ArduinoJson_ID64/src,/home/nathan/.platformio/lib/Keypad_ID165/src,/home/nathan/.platformio/lib/PubSubClient_ID89/src,/home/nathan/.platformio/lib/Tone_ID1420,/home/nathan/.platformio/lib/WifiManager_ID567,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/EEPROM/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/HID/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SPI/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/Wire/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_CircuitPlayground,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_CircuitPlayground/utility,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Bridge/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Esplora/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Ethernet/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Firmata,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Firmata/utility,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/GSM/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Keyboard/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/LiquidCrystal/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Mouse/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/RobotIRremote/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Robot_Control/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Robot_Motor/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/SD/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Servo/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/SpacebrewYun/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Stepper/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/TFT/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Temboo/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/WiFi/src,/home/nathan/.platformio/packages/toolchain-atmelavr/avr/include,/home/nathan/.platformio/packages/toolchain-atmelavr/lib/gcc/avr/5.4.0/include-fixed,/home/nathan/.platformio/packages/toolchain-atmelavr/lib/gcc/avr/5.4.0/include,/home/nathan/.platformio/packages/tool-unity,/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/include,/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/src",
"gccIncludePaths": "/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino,/home/nathan/.platformio/packages/framework-arduinoavr/variants/micro,/home/nathan/.platformio/lib/Adafruit MQTT Library_ID1092,/home/nathan/.platformio/lib/ArduinoJson_ID64/src,/home/nathan/.platformio/lib/Encoder,/home/nathan/.platformio/lib/Encoder/utility,/home/nathan/.platformio/lib/Keypad_ID165/src,/home/nathan/.platformio/lib/MIDI controller/src,/home/nathan/.platformio/lib/MIDIUSB_ID1104/src,/home/nathan/.platformio/lib/Multiplexer_ID320,/home/nathan/.platformio/lib/PubSubClient_ID89/src,/home/nathan/.platformio/lib/WifiManager_ID567,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/EEPROM/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/HID/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SPI/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/SoftwareSerial/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/__cores__/arduino/Wire/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_Circuit_Playground,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Adafruit_Circuit_Playground/utility,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Bridge/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Esplora/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Ethernet/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Firmata,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Firmata/utility,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/GSM/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Keyboard/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/LiquidCrystal/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Mouse/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/RobotIRremote/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Robot_Control/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Robot_Motor/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/SD/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Servo/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/SpacebrewYun/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Stepper/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/TFT/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/Temboo/src,/home/nathan/.platformio/packages/framework-arduinoavr/libraries/WiFi/src,/home/nathan/.platformio/packages/toolchain-atmelavr/avr/include,/home/nathan/.platformio/packages/toolchain-atmelavr/lib/gcc/avr/5.4.0/include-fixed,/home/nathan/.platformio/packages/toolchain-atmelavr/lib/gcc/avr/5.4.0/include,/home/nathan/.platformio/packages/tool-unity,/home/nathan/Documents/PlatformIO/Projects/Midi/include,/home/nathan/Documents/PlatformIO/Projects/Midi/src",
"gccSuppressWarnings": false
}
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
[InternetShortcut]
URL=https://docs.platformio.org/page/projectconf/section_platformio.html#build-dir
BIN
View File
Binary file not shown.
+314
View File
@@ -0,0 +1,314 @@
:100000000C94E3000C940B010C940B010C940B0169
:100010000C940B010C940B010C940B010C940B0130
:100020000C940B010C940B010C9426050C94980570
:100030000C940B010C940B010C940B010C940B0110
:100040000C940B010C940B010C940B010C940B0100
:100050000C940B010C940B010C940B010C94DC041C
:100060000C940B010C940B010C940B010C940B01E0
:100070000C940B010C940B010C940B010C940B01D0
:100080000C940B010C940B010C940B010C940B01C0
:100090000C940B010C940B010C940B010C940B01B0
:1000A0000C940B010C940B010C940B0178017B0157
:1000B0006A016E0174019C019C019C017F01830116
:1000C00087018D0191019C019701080B000202023A
:1000D00001000904000001020200000524001001D3
:1000E0000524010101042402060524060001070578
:1000F000810310004009040100020A000000070506
:1001000002024000000705830240000004030904C6
:1001100012010002EF0201404123370000010102F9
:10012000030141726475696E6F204C4C430041724B
:100130006475696E6F204D6963726F000000000086
:100140002300260029002C002F00000000002400BE
:1001500027002A002D0030000000000025002800A4
:100160002B002E00310004040404040304050202E1
:100170000202040302020202060606060606040440
:1001800002020204040408020110408040102040D2
:10019000804080080204018040201002011080107D
:1001A000204040200000000200090F00000304016D
:1001B000000C000000000000000000000000000033
:1001C000000000004B0911241FBECFEFDAE0DEBFB4
:1001D000CDBF11E0A0E0B1E0EEE1F3E102C0059097
:1001E0000D92AC36B107D9F721E0ACE6B1E001C021
:1001F0001D92AB3EB207E1F710E0C3EED0E004C0C1
:100200002197FE010E948209C23ED107C9F70E94D0
:10021000D6070C948D090C94000020919A012111AD
:1002200003C08FEF9FEF08955FB7F89422E020930B
:10023000E9002091F20030E01216130614F421E0D8
:1002400030E0422FFC0184E6415038F0289A809338
:1002500099019091F1009193F7CF2115310521F08B
:100260008091F200882319F05FBFC90108958BE6E1
:100270008093E800F9CF2FB7F89483E08093E900EA
:100280009091E800892F807295FF04C09091F20050
:1002900080E4891B2FBF08958091910181110DC0C9
:1002A00082E080938D0184E080938E011092900112
:1002B00010928F0181E0809391018DE891E0089583
:1002C00090E0FC013197EF30F105B0F5EA5AFF4FAD
:1002D0000C948209809180008F7703C08091800008
:1002E0008F7D80938000089580918000877FF9CF73
:1002F00084B58F7702C084B58F7D84BD08958091C9
:1003000090008F7707C0809190008F7D03C080910F
:100310009000877F8093900008958091C0008F7730
:1003200003C08091C0008F7D8093C00008958091AC
:10033000C200877F8093C20008951F93CF93DF93FD
:10034000282F30E0F901EC55FE4F8491F901EB576D
:10035000FE4FD491F901EA59FE4FC491CC23C1F06C
:10036000162F81110E946001EC2FF0E0EE0FFF1FAD
:10037000E85AFE4FA591B4919FB7F894111104C0AB
:100380008C91D095D82302C0EC91DE2BDC939FBFDB
:10039000DF91CF911F910895CF93DF9390E0FC01FF
:1003A000EB57FE4F2491FC01EA59FE4F84918823BC
:1003B00061F190E0880F991FFC01E65BFE4FC5914B
:1003C000D491FC01E85AFE4FA591B491611109C086
:1003D0009FB7F8948881209582238883EC912E23FF
:1003E0000BC0623061F49FB7F8948881322F30954A
:1003F00083238883EC912E2B2C939FBF06C08FB74D
:10040000F894E8812E2B28838FBFDF91CF91089538
:100410003FB7F8948091890190918A01A0918B0156
:10042000B0918C0126B5A89B05C02F3F19F001960D
:10043000A11DB11D3FBFBA2FA92F982F8827820F6A
:10044000911DA11DB11DBC01CD0142E0660F771FBA
:10045000881F991F4A95D1F708958F929F92AF9266
:10046000BF92CF92DF92EF92FF926B017C010E94CC
:1004700008024B015C01C114D104E104F104F1F064
:100480000E940802DC01CB0188199909AA09BB095D
:10049000883E9340A105B10570F321E0C21AD1084E
:1004A000E108F10888EE880E83E0981EA11CB11CBB
:1004B000C114D104E104F10419F7DDCFFF90EF90EE
:1004C000DF90CF90BF90AF909F908F900895409114
:1004D0006E0150916F0120916C0130916D014217B6
:1004E0005307B4F49091E8009570E1F39091E8001F
:1004F00092FD19C08093F10080916E0190916F017F
:1005000001968F739927892B19F48EEF8093E80059
:1005100080916E0190916F01019690936F0180938D
:100520006E0181E0089580E00895DF92EF92FF92DE
:100530000F931F93CF93DF93D82EF92EE42E062F1F
:1005400010E0C8010196880F0E94670283E00E94B4
:100550006702CD2DDF2D0C0F1D1FC017D10789F0AD
:10056000E7FE03C0FE01849101C088810E946702FA
:10057000F82E80E00E9467028F2121968111EDCF35
:1005800001C081E0DF91CF911F910F91FF90EF901B
:10059000DF900895DF92EF92FF920F931F93CF9316
:1005A000DF93D82E8A017B01E40EF51EEB01CE15F8
:1005B000DF0571F0D7FE03C0FE01849101C0888180
:1005C0000E94670221968111F2CF8FEF9FEF01C049
:1005D000C801DF91CF911F910F91FF90EF90DF90B5
:1005E00008950F931F93CF93DF931F92CDB7DEB77C
:1005F00082E0898342E450E06AEC70E080E80E9487
:10060000CA020E944C01DC0112960D911C911397B5
:100610000115110589F0D801ED91FC910280F3815B
:10062000E02DBE016F5F7F4FC801099597FD04C0A3
:10063000F80100851185ECCF89810F90DF91CF9172
:100640001F910F910895615030F02091F100FC014D
:1006500020830196F8CF289A84E680939901089523
:10066000CF92DF92EF92FF920F931F93CF93DF937E
:100670006C017A018B01C0E0D0E0CE15DF0581F07E
:10068000D8016D918D01D601ED91FC910190F08121
:10069000E02DC6010995892B11F02196EECF7E0140
:1006A000C701DF91CF911F910F91FF90EF90DF90E5
:1006B000CF9008958F929F92AF92BF92CF92DF9288
:1006C000EF92FF920F931F93CF93DF936C017B0107
:1006D0008A0180910B01882309F45CC080919A0102
:1006E000882309F457C08091720180FF05C0809172
:1006F000E00082608093E000E801B12C8AEFA82E30
:1007000093E0892E2AE3922E209711F4BB20D9F191
:100710000E943B0181110AC0AA94AA20D9F161E08C
:1007200070E080E090E00E942D02EECF282F30E0B4
:10073000C217D3070CF48C2F9FB7F8948092E9006E
:100740002091E80025FF1DC0282F30E0C21BD30BED
:10075000F701815020F041914093F100FACFE20E71
:10076000F31EBB2019F09092E8000AC08091E800C7
:1007700085FD07C09092E800BB24B394209709F050
:10078000B12C9FBFC1CF5D9A84E680937101101692
:10079000110644F081E090E0F6019383828380E0CB
:1007A00090E001C0C801DF91CF911F910F91FF90A0
:1007B000EF90DF90CF90BF90AF909F908F90089573
:1007C000CF93DF931F92CDB7DEB76983DC01ED9144
:1007D000FC910280F381E02D41E050E0BE016F5FAB
:1007E0007F4F09950F90DF91CF91089583E080931B
:1007F000E9008091F200882319F08AE38093E800F1
:1008000008950E943B0190E00895CF93DF931F92DB
:10081000CDB7DEB7FC018485958597FD05C02FEF28
:100820003FEF358724870BC0CE0101960E940D0152
:10083000019719F4898190E002C08FEF9FEF0F902C
:10084000DF91CF9108950F931F93CF93DF931F9262
:10085000CDB7DEB78C01FC018485958597FF0EC06E
:10086000CE0101960E940D01019719F4898190E053
:1008700002C08FEF9FEFF80195878487F801848588
:1008800095850F90DF91CF911F910F910895FC01F5
:100890008485958597FD0BC09FB7F89482E080937F
:1008A000E9008091F2009FBF90E0019608959FB704
:1008B000F89482E08093E9008091F2009FBF90E07D
:1008C0000895089580E090E008950F931F93CF93CB
:1008D000DF93C7E0D0E0082F10E0B8010C2E02C073
:1008E000759567950A94E2F761708EE00E949D010C
:1008F00061E081E00E949D0160E081E00E949D0135
:10090000219758F7DF91CF911F910F91089500978C
:1009100069F0FC0101900020E9F73197AF01481B15
:10092000590BBC018BE991E00C945A0380E090E0F4
:1009300008958F929F92AF92BF920F931F93CF9380
:10094000DF93CDB7DEB7A1970FB6F894DEBF0FBE29
:10095000CDBF19A2423008F44AE08E010F5D1F4F4F
:10096000842E912CA12CB12CA50194010E94600928
:10097000E62FB901CA0101501109EA3014F4E05D13
:1009800001C0E95CD801EC93232B242B252B61F7C4
:10099000C8010E948704A1960FB6F894DEBF0FBE6F
:1009A000CDBFDF91CF911F910F91BF90AF909F90DE
:1009B0008F9008950E9488091F920F920FB60F9290
:1009C00011242F933F938F939F93AF93BF93809165
:1009D000850190918601A0918701B09188013091A5
:1009E000840123E0230F2D3720F40196A11DB11DB2
:1009F00005C026E8230F0296A11DB11D2093840196
:100A00008093850190938601A0938701B09388011C
:100A10008091890190918A01A0918B01B0918C0104
:100A20000196A11DB11D8093890190938A01A09325
:100A30008B01B0938C01BF91AF919F918F913F91AA
:100A40002F910F900FBE0F901F9018951F920F922D
:100A50000FB60F9211248F939F938091E100909194
:100A6000E100937F9093E10083FF0FC01092E900B3
:100A700091E09093EB001092EC0092E39093ED00E4
:100A800010929A0198E09093F00082FF20C093E0CA
:100A90009093E9009091F200992319F09AE39093D2
:100AA000E80090917101992339F090917101915072
:100AB00090937101992389F190919901992339F0CB
:100AC00090919901915090939901992341F184FF5C
:100AD00010C08091E2008E7E81608093E200809160
:100AE000E1008F7E8093E100809172018E7E8061B3
:100AF00011C080FF16C08091E2008E7E80618093DD
:100B0000E2008091E1008E7E8093E100809172018D
:100B10008E7E81608093720104C05D98CDCF28984D
:100B2000D6CF9F918F910F900FBE0F901F90189569
:100B30001F920F920FB60F921124CF92DF92EF9275
:100B4000FF920F931F932F933F934F935F936F9356
:100B50007F938F939F93AF93BF93EF93FF93CF9325
:100B6000DF93CDB7DEB76C97DEBFCDBF1092E90043
:100B70008091E80083FFFBC168E0CE0145960E94AA
:100B8000230382EF8093E8008D8987FF05C0909151
:100B9000E80090FFFCCF03C09EEF9093E800982FF1
:100BA000907609F0C6C09E894F89588D2F89F88CA0
:100BB00091110CC0803829F4809173018093F10069
:100BC00002C01092F1001092F10045C1913051F431
:100BD000811141C14130510509F03DC1809173013E
:100BE0008D7F0BC0933061F4811135C141305105C7
:100BF00009F031C1809173018260809373012BC130
:100C0000953049F48091E80080FFFCCF822F806806
:100C10008093E30020C1963009F05EC00B8D1C8DDF
:100C200022E01092E90010926F0110926E01F21210
:100C300032C010926D0110926C010E94F10299E095
:100C4000BE016F5F7F4FDB01E92F1D92EA95E9F747
:100C50009983FA8291E09E8390EA98879AEF998728
:100C600020916E0130916F01275F3F4F3C832B83B2
:100C70008D831092E90010926F0110926E01109313
:100C80006D0100936C0149E050E080E00E94CA02CF
:100C90000E94F102E0C010936D0100936C010E946C
:100CA0004C01DC0112960D911C9113970115110551
:100CB00009F4BBC0D801ED91FC910480F581E02DD1
:100CC000BE016B5E7F4FC8010995009709F0C7C050
:100CD000F80100851185EACF973009F445C19830B5
:100CE00021F481E08093F100B6C0993009F0B3C0DF
:100CF000837009F039C1EFE1F1E081E031E096E382
:100D00002081211109C08EE78093EA001092EA0049
:100D10008F8980939A019FC08093E9003093EB0004
:100D200021912093EC009093ED008F5F873041F785
:100D3000EACF8B8D9C8D1092E90010926F0110927A
:100D40006E0190936D0180936C01898D811153C068
:100D50008E899D89913A49F4813209F005C147E0B5
:100D600050E064E071E080E0BBC0913209F0FCC06B
:100D7000833269F48F89988DA0E0B0E08093000100
:100D800090930101A0930201B093030164C08032EB
:100D900069F48091E80082FFFCCF67E084E091E095
:100DA0000E9423038BEF8093E80055C0823209F044
:100DB00052C08F8980930B01EEEFFFE785919491EC
:100DC0008B3F9C4D19F0E0E0F8E002C0EEEFFAE056
:100DD0008091040190910501A0910601B091070155
:100DE000803B9440A105B10509F09EC080910B01A4
:100DF00080FF79C099C00E944C01FC0102811381DF
:100E00000115110509F4B0C0D801ED91FC910190D4
:100E1000F081E02DBE016B5E7F4FC8010995811105
:100E20001AC0F80100851185EBCFF1E0FF1609F437
:100E30004EC0F3E0FF1298C08F89882309F44AC09E
:100E4000823089F440E86DE08EE291E00E949502E4
:100E5000882309F489C08EEF8093E80088C01816B3
:100E60001906CCF381C0813029F440E86BE082E2BE
:100E700091E0ECCF833009F077C00E944C01DC0197
:100E80001296ED90FC9013978E010F5F1F4F680133
:100E9000E114F10479F0D701ED91FC910680F7811E
:100EA000E02DB801C7010995080F111DF701E08475
:100EB000F184EECFD8011C92F60101900020E9F7F1
:100EC0003197BF016C197D0940E0C601BFCF60E1D9
:100ED00071E002C06CE071E0FB01449150E080E8F9
:100EE0000E94CA02B8CFEE3F2AE0F20751F080819B
:100EF00091818737A7E79A0721F09093FF0A8093A3
:100F0000FE0A87E797E79183808380916000809352
:100F100070019BE088E10FB6F894A895809360007B
:100F20000FBE9093600097CF80819181873797475C
:100F300009F091CFA895809160008861809360004E
:100F40008091700180936000EE3FBAE0FB0739F0BA
:100F50008091FE0A9091FF0A918380837CCF10924A
:100F6000FF0A1092FE0A77CF81E28093EB006C9625
:100F70000FB6F894DEBF0FBECDBFDF91CF91FF91CA
:100F8000EF91BF91AF919F918F917F916F915F9101
:100F90004F913F912F911F910F91FF90EF90DF9014
:100FA000CF900F900FBE0F901F901895789484B536
:100FB000826084BD84B5816084BD85B5826085BD55
:100FC00085B5816085BD80916E00816080936E00E3
:100FD00010928100809181008260809381008091D5
:100FE0008100816080938100809180008160809386
:100FF00080008091910082608093910080919100A7
:101000008160809391008091900081608093900036
:101010008091C10084608093C1008091C100826092
:101020008093C1008091C10081608093C100809154
:10103000C30081608093C3008091C0008260809370
:10104000C0008091C20081608093C20080917A00CC
:10105000846080937A0080917A00826080937A0025
:1010600080917A00816080937A0080917A00806814
:1010700080937A0010929A0110927301109272017B
:101080008091D70081608093D70080EA8093D80058
:1010900089B5806189BD89B5826089BD09B400FECA
:1010A000FDCF61E070E080E090E00E942D02809131
:1010B000D8008F7C80618093D8008091E000807F91
:1010C0008093E0008091E1008E7E8093E1008DE0CE
:1010D0008093E200559A209A5D9828988FEF9FEFB1
:1010E0009093A8018093A7018BE991E00E944704A7
:1010F000892B39F464EF71E080E090E00E942D02CA
:10110000F3CF61E081E00E94CC0161E08EE00E94BB
:10111000CC0161E080E10E94CC0161E082E00E94AC
:10112000CC01CDE2D1E060E089910E94CC0181E068
:10113000C333D807C1F784E891E0E4E7F1E0119206
:101140008E179F07E1F725E2822E21E0922E34E7E9
:10115000E32E31E0F32E412C512C320160E080E18E
:101160000E949D0180E00E946504F40181914F017D
:101170000E94650461E080E10E949D019FE2C92E0A
:1011800091E0D92EE701312CF60121906F01222D3B
:1011900030E0F901EC55FE4F8491F901EB57FE4F19
:1011A0000491F901EA59FE4F14911123A1F0811124
:1011B0000E946001E12FF0E0EE0FFF1FE45CFE4FA4
:1011C000A591B491EC910E2391E009F490E0092FE0
:1011D0009130A1F503C000E010E030C0CE0184578B
:1011E00091405C01888181112AC083E391E00E94D3
:1011F0008704B50180E090E04AE00E94990488E30A
:1012000091E00E948704622D70E080E090E04AE067
:101210000E94990483E591E00E9487044AE0C3019B
:10122000B2010E94990486E691E00E94870488E654
:1012300091E00E94870491E0988301C01882E1E068
:10124000E8830329F02FF1703F2E249683E3C8161C
:1012500081E0D80609F098CFFF2311F061E001C0CA
:1012600060E082E00E949D019FEF491A590A690AD5
:10127000790AEFEFEE1AFE0AF4E04F16510461040A
:10128000710409F06BCF80E090E0892B09F45BCF0B
:101290000E94000058CFEBE9F1E01382128288EE41
:1012A00093E0A0E0B0E084839583A683B78380E1D8
:1012B00091E0918380838FEF9FEF958784870895D6
:1012C000A1E21A2EAA1BBB1BFD010DC0AA1FBB1F4A
:1012D000EE1FFF1FA217B307E407F50720F0A21BBC
:1012E000B30BE40BF50B661F771F881F991F1A9429
:1012F00069F760957095809590959B01AC01BD0153
:10130000CF010895EE0FFF1F0590F491E02D099491
:0E13100081E090E0F8940C948D09F894FFCFE2
:10131E00FFFFFFFF00E100000000000000000000E2
:10132E00E0035A030104F60347040504230400C135
:10133E008081000000010204081020408004050690
:10134E000708096B657920002070726573736564F8
:10135E0020287265636569766564206F6E207069FA
:10136E006E2000202620656D6D69746564206F6E99
:0C137E002070696E200029000D0A00009C
:00000001FF
+1 -1
View File
@@ -1 +1 @@
74fc8fc0b6bb79a819cd20e5d1f07670288903ad
d53bd8f470f949b5d5179e009803692baf79d4ac
+10 -325
View File
@@ -1,334 +1,19 @@
[Errno 21] Is a directory: '/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/.pioenvs'
Please manually remove the file `/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/.pioenvs`
Processing micro (platform: atmelavr; board: micro; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/micro.html
PLATFORM: Atmel AVR > Arduino Micro
HARDWARE: ATMEGA32U4 16MHz 2.50KB RAM (28KB Flash)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 32 compatible libraries
Collected 33 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <MIDI controller> 3.1.0 #e895a51
| |-- <MIDIUSB> 1.0.3
| |-- <SoftwareSerial> 1.0
No dependencies
Compiling .pioenvs/micro/src/main.cpp.o
Compiling .pioenvs/micro/src/mainTest.cpp.o
Compiling .pioenvs/micro/lib103/MIDIUSB_ID1104/MIDIUSB.cpp.o
Compiling .pioenvs/micro/libe75/SoftwareSerial/SoftwareSerial.cpp.o
src/mainTest.cpp:21:13: warning: 'Analog' is deprecated
Analog potentiometers[] = {
^
src/main.cpp:35:13: warning: 'Analog' is deprecated
Analog potentiometers[] = {
^
In file included from lib/MIDI_controller/src/./MIDI_Controller/MIDI_Controller_Class.h:4:0,
from lib/MIDI_controller/src/MIDI_Controller.h:10,
from src/mainTest.cpp:3:
lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h: In member function 'virtual void USBMIDI_Interface::sendImpl(uint8_t, uint8_t, uint8_t, uint8_t)':
lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:36: warning: narrowing conversion of '(((int)m) >> 4)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
midiEventPacket_t msg = {m >> 4, m | c, d1, d2};
^
lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:44: warning: narrowing conversion of '(int)(m | c)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
midiEventPacket_t msg = {m >> 4, m | c, d1, d2};
^
In file included from lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:5:0,
from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8,
from lib/MIDI_controller/src/MIDI_Controller.h:14,
from src/mainTest.cpp:3:
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual int ExtendedIOElement::digitalRead(pin_t)':
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:33:38: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int digitalRead(pin_t pin){};
^
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual analog_t ExtendedIOElement::analogRead(pin_t)':
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:34:42: warning: no return statement in function returning non-void [-Wreturn-type]
virtual analog_t analogRead(pin_t pin){};
^
In file included from lib/MIDI_controller/src/./MIDI_Controller/MIDI_Controller_Class.h:4:0,
from lib/MIDI_controller/src/MIDI_Controller.h:10,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h: In member function 'virtual void USBMIDI_Interface::sendImpl(uint8_t, uint8_t, uint8_t, uint8_t)':
lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:36: warning: narrowing conversion of '(((int)m) >> 4)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
midiEventPacket_t msg = {m >> 4, m | c, d1, d2};
^
lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:44: warning: narrowing conversion of '(int)(m | c)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
midiEventPacket_t msg = {m >> 4, m | c, d1, d2};
^
In file included from lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:5:0,
from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8,
from lib/MIDI_controller/src/MIDI_Controller.h:14,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual int ExtendedIOElement::digitalRead(pin_t)':
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:33:38: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int digitalRead(pin_t pin){};
^
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual analog_t ExtendedIOElement::analogRead(pin_t)':
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:34:42: warning: no return statement in function returning non-void [-Wreturn-type]
virtual analog_t analogRead(pin_t pin){};
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:33:0,
from src/mainTest.cpp:3:
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h: In constructor 'AnalogMultiplex::AnalogMultiplex(pin_t, std::initializer_list<unsigned char>)':
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:45:32: warning: 'AnalogMultiplex::nb_addresses' will be initialized after [-Wreorder]
const size_t nb_addressPins, nb_addresses;
^
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:24:50: warning: base 'ExtendedIOElement' [-Wreorder]
ExtendedIOElement(1 << addressPins.size())
^
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:22:3: warning: when initialized here [-Wreorder]
AnalogMultiplex(pin_t analogPin, std::initializer_list<pin_t> addressPins)
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:33:0,
from src/main.cpp:2:
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h: In constructor 'AnalogMultiplex::AnalogMultiplex(pin_t, std::initializer_list<unsigned char>)':
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:45:32: warning: 'AnalogMultiplex::nb_addresses' will be initialized after [-Wreorder]
const size_t nb_addressPins, nb_addresses;
^
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:24:50: warning: base 'ExtendedIOElement' [-Wreorder]
ExtendedIOElement(1 << addressPins.size())
^
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:22:3: warning: when initialized here [-Wreorder]
AnalogMultiplex(pin_t analogPin, std::initializer_list<pin_t> addressPins)
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:28:0,
from src/mainTest.cpp:3:
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface<T>::SerialMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:57:111: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface<HardwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
src/main.cpp: In function 'void setup()':
src/main.cpp:50:51: error: call of overloaded 'pinMode(uint8_t, int)' is ambiguous
pinMode(static_cast<uint8_t>(shift_clock), OUTPUT);
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
In file included from src/main.cpp:1:0:
/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t)
void pinMode(uint8_t, uint8_t);
^
In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0,
from lib/MIDI_controller/src/MIDI_Controller.h:14,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t)
extern void pinMode(int pin, uint8_t mode);
^
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t)
extern void pinMode(pin_t pin, uint8_t mode);
^
src/main.cpp:51:28: error: call of overloaded 'pinMode(const uint8_t&, int)' is ambiguous
pinMode(shift_data, OUTPUT);
^
In file included from src/main.cpp:1:0:
/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t)
void pinMode(uint8_t, uint8_t);
^
In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0,
from lib/MIDI_controller/src/MIDI_Controller.h:14,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t)
extern void pinMode(int pin, uint8_t mode);
^
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t)
extern void pinMode(pin_t pin, uint8_t mode);
^
src/main.cpp:52:29: error: call of overloaded 'pinMode(const uint8_t&, int)' is ambiguous
pinMode(shift_latch, OUTPUT);
^
In file included from src/main.cpp:1:0:
/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t)
void pinMode(uint8_t, uint8_t);
^
In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0,
from lib/MIDI_controller/src/MIDI_Controller.h:14,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t)
extern void pinMode(int pin, uint8_t mode);
^
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t)
extern void pinMode(pin_t pin, uint8_t mode);
^
src/main.cpp:56:32: error: call of overloaded 'pinMode(const uint8_t&, int)' is ambiguous
pinMode(keyboard_in[i], INPUT);
^
In file included from src/main.cpp:1:0:
/home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t)
void pinMode(uint8_t, uint8_t);
^
In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0,
from lib/MIDI_controller/src/MIDI_Controller.h:14,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t)
extern void pinMode(int pin, uint8_t mode);
^
lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t)
extern void pinMode(pin_t pin, uint8_t mode);
^
src/main.cpp: In function 'void loop()':
src/main.cpp:91:6: error: 'val' was not declared in this scope
if (val[2] >= 500) {
^
src/main.cpp: In function 'void scanLineOut(int)':
src/main.cpp:118:15: error: 'latchPin' was not declared in this scope
digitalWrite(latchPin, LOW);
^
src/main.cpp:121:12: error: 'dataPin' was not declared in this scope
shiftOut(dataPin, clockPin, MSBFIRST, 0b00000000); //right sr
^
src/main.cpp:121:21: error: 'clockPin' was not declared in this scope
shiftOut(dataPin, clockPin, MSBFIRST, 0b00000000); //right sr
^
src/main.cpp:124:12: error: 'dataPin' was not declared in this scope
shiftOut(dataPin, clockPin, MSBFIRST, bits[colNum-8]); //right sr
^
src/main.cpp:124:21: error: 'clockPin' was not declared in this scope
shiftOut(dataPin, clockPin, MSBFIRST, bits[colNum-8]); //right sr
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface<T>::SerialMIDI_Interface(T&, long unsigned int) [with T = Serial_]':
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:85:82: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface<Serial_>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:28:0,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface<T>::SerialMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:57:111: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface<HardwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface<T>::SerialMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:101:110: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface<SoftwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface<T>::SerialMIDI_Interface(T&, long unsigned int) [with T = Serial_]':
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:85:82: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface<Serial_>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:29:0,
from src/mainTest.cpp:3:
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface<T>::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:70:121: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface<HardwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface<T>::SerialMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:101:110: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface<SoftwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder]
SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface<T>::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = Serial_]':
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:98:86: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface<Serial_>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:29:0,
from src/main.cpp:2:
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface<T>::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:70:121: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface<HardwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface<T>::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:107:120: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface<SoftwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface<T>::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = Serial_]':
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:98:86: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface<Serial_>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface<T>::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]':
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:107:120: required from here
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface<SoftwareSerial>::baud' will be initialized after [-Wreorder]
const unsigned long baud;
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder]
SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {}
^
In file included from lib/MIDI_controller/src/MIDI_Controller.h:33:0,
from src/main.cpp:2:
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h: In instantiation of 'AnalogMultiplex::AnalogMultiplex(pin_t, const pin_t (&)[N]) [with unsigned int N = 5u; pin_t = unsigned char]':
src/main.cpp:27:46: required from here
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:45:32: warning: 'AnalogMultiplex::nb_addresses' will be initialized after [-Wreorder]
const size_t nb_addressPins, nb_addresses;
^
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:18:33: warning: base 'ExtendedIOElement' [-Wreorder]
ExtendedIOElement(1 << N)
^
lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:16:3: warning: when initialized here [-Wreorder]
AnalogMultiplex(pin_t analogPin, const pin_t (&addressPins)[N])
^
*** [.pioenvs/micro/src/main.cpp.o] Error 1
============================================================================= [ERROR] Took 1.51 seconds =============================================================================
Linking .pioenvs/micro/firmware.elf
Building .pioenvs/micro/firmware.hex
Checking size .pioenvs/micro/firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [= ] 8.6% (used 219 bytes from 2560 bytes)
PROGRAM: [== ] 17.3% (used 4962 bytes from 28672 bytes)
==================================================================================== [SUCCESS] Took 1.62 seconds ====================================================================================
+79 -28
View File
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <MIDI_Controller.h>
// #include <MIDI_Controller.h>
#define s * 1000
@@ -24,21 +24,22 @@ const uint8_t keyboard_in[KEYBOARD_INSIZE]{4, 5, 6, 7, 8, 9};
/* Components */
/* GPIO (I2C) */
/* Multiplexer */
AnalogMultiplex multiplexer(mux_sig, mux_addr);
// AnalogMultiplex multiplexer(mux_sig, mux_addr);
/* ShiftRegister (OUT) */
ShiftRegisterOut shiftRegister(shift_data, shift_clock, shift_latch, MSBFIRST, SHIFT_OUTPUTSIZE);
// ShiftRegisterOut shiftRegister(shift_data, shift_clock, shift_latch, MSBFIRST, SHIFT_OUTPUTSIZE);
/* keyboard (IN) */
/* Midi links */
//USBDebugMIDI_Interface midiInterface(115200);
Analog potentiometers[] = {
{multiplexer.pin(4), MIDI_CC::Channel_Volume, 5},
{multiplexer.pin(5), MIDI_CC::Channel_Volume, 6},
{multiplexer.pin(6), MIDI_CC::Channel_Volume, 7},
{multiplexer.pin(7), MIDI_CC::Channel_Volume, 8}
};
// Analog potentiometers[] = {
// {multiplexer.pin(4), MIDI_CC::Channel_Volume, 5},
// {multiplexer.pin(5), MIDI_CC::Channel_Volume, 6},
// {multiplexer.pin(6), MIDI_CC::Channel_Volume, 7},
// {multiplexer.pin(7), MIDI_CC::Channel_Volume, 8}
// };
bool ref[4*4];
void setup() {
Serial.begin(115200);
@@ -46,8 +47,7 @@ void setup() {
delay(.5 s);
}
pinMode(static_cast<uint8_t>(shift_clock), OUTPUT);
pinMode(shift_clock, OUTPUT);
pinMode(shift_data, OUTPUT);
pinMode(shift_latch, OUTPUT);
pinMode(2, OUTPUT);
@@ -55,7 +55,14 @@ void setup() {
for (size_t i = 0; i < KEYBOARD_INSIZE; i++) {
pinMode(keyboard_in[i], INPUT);
}
for (size_t i = 0; i < 4*4; i++) {
ref[i] = false;
}
}
void scanLineOut(int colNum);
void loop() {
// long start = millis();
@@ -88,11 +95,55 @@ void loop() {
// } else {
// digitalWrite(0, LOW);
// }
if (val[2] >= 500) {
digitalWrite(1, HIGH);
} else {
digitalWrite(1, LOW);
for (size_t i = 0; i < 4; i++) {
scanLineOut(i);
uint8_t rowValue[KEYBOARD_INSIZE];
bool pressed = false;
for (size_t j = 0; j < 4; j++) {
if ((rowValue[i] = digitalRead(keyboard_in[j + 2])) == HIGH) {
if (!ref[j * 4 + i]) {
Serial.print("key ");
Serial.print(j * 4 + i);
Serial.print(" pressed (received on pin ");
Serial.print(keyboard_in[j + 2]);
Serial.print(" & emmited on pin ");
Serial.print(i);
Serial.println(")");
ref[j * 4 + i] = true;
}
} else {
ref[j * 4 + i] = false;
}
ref[j * 4 + i] = true;
pressed |= rowValue[i];
}
if (pressed) {
digitalWrite(2, HIGH);
} else {
digitalWrite(2, LOW);
}
}
// for (uint8_t i = 0; i < 8; i++) {
// byte bitsToSend = 0b00000001 << i;
// digitalWrite(shift_latch, LOW);
// shiftOut(shift_data, shift_clock, MSBFIRST, bitsToSend);
// digitalWrite(shift_latch, HIGH);
// Serial.print(" ");
// Serial.print(bitsToSend, BIN);
// Serial.println(" HIGH");
// delay(1 s);
// //bitWrite(bitsToSend, i, LOW);
// digitalWrite(shift_latch, LOW);
// shiftOut(shift_data, shift_clock, MSBFIRST, 0b00000000);
// digitalWrite(shift_latch, HIGH);
// Serial.print(i);
// Serial.println(" LOW");
// delay(1 s);
// }
// analogWrite(9, val[0] * 256 / 1024);
@@ -105,25 +156,25 @@ void loop() {
}
byte bits[] = {
0b00000001,
B00000010,
B00000100,
B00001000,
B00010000,
B00100000,
B01000000,
B10000000
0b00000010,
0b00000100,
0b00001000,
0b00010000,
0b00100000,
0b01000000,
0b10000000
};
void scanLineOut(int colNum) {
digitalWrite(latchPin, LOW);
digitalWrite(shift_latch, LOW);
if(0 <= colNum && colNum <= 7) {
shiftOut(dataPin, clockPin, MSBFIRST, 0b00000000); //right sr
shiftOut(dataPin, clockPin, MSBFIRST, bits[colNum]); //left sr
shiftOut(shift_data, shift_clock, MSBFIRST, 0b00000000); //right sr
shiftOut(shift_data, shift_clock, MSBFIRST, bits[colNum]); //left sr
} else {
shiftOut(dataPin, clockPin, MSBFIRST, bits[colNum-8]); //right sr
shiftOut(dataPin, clockPin, MSBFIRST, 0b00000000); //left sr
shiftOut(shift_data, shift_clock, MSBFIRST, bits[colNum-8]); //right sr
shiftOut(shift_data, shift_clock, MSBFIRST, 0b00000000); //left sr
}
digitalWrite(latchPin, HIGH);
digitalWrite(shift_latch, HIGH);
}
+48
View File
@@ -0,0 +1,48 @@
#include <Arduino.h>
//**************************************************************//
// Name : shiftOutCode, Hello World
// Author : Carlyn Maw,Tom Igoe, David A. Mellis
// Date : 25 Oct, 2006
// Modified: 23 Mar 2010
// Version : 2.0
// Notes : Code for using a 74HC595 Shift Register //
// : to count from 0 to 255
//****************************************************************
//Pin connected to ST_CP of 74HC595
int latchPin = 16;
//Pin connected to SH_CP of 74HC595
int clockPin = 1;
////Pin connected to DS of 74HC595
int dataPin = 14;
void setup() {
//set pins to output so you can control the shift register
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
Serial.begin(115200);
}
void loop() {
// count from 0 to 255 and display the number
// on the LEDs
for (int numberToDisplay = 0; numberToDisplay < 256; numberToDisplay++) {
// take the latchPin low so
// the LEDs don't change while you're sending in bits:
digitalWrite(latchPin, LOW);
// shift out the bits:
shiftOut(dataPin, clockPin, MSBFIRST, numberToDisplay);
//take the latch pin high so the LEDs will light up:
digitalWrite(latchPin, HIGH);
// pause before next value:
// delay(1000);
Serial.print("Number : ");
Serial.println(numberToDisplay, BIN);
delay(1000);
}
}