Mikael Degerfält
c43be09b1f
Save memory by changing int arrays to const short arrays
...
No need to have them in RAM since they are never changed, and their value was never higher than 14 bits, so using 32 was just a waste.
2019-06-09 16:53:17 +02:00
Mikael Degerfält
cc3323fd03
Move access to usbMIDI to midi.ino
...
NuEVI.ino shouldn’t have to know about usbMIDI.
2019-06-08 22:22:13 +02:00
Mikael Degerfält
921fdb1266
Global namespace cleanup
...
Moved variables only used in menu to menu code. Variables only used in NuEVI.ino removed from globals.h and made static.
2019-06-08 15:34:16 +02:00
Mikael Degerfält
58ea673994
Moved settings #defines to settings.h
...
I did feel like they belong in config.h
2019-06-04 23:34:26 +02:00
Mikael Degerfält
4bf2a3a91e
Renamed menu.ino to menu.cpp
...
This change required lots of other changes to have it compile. I had to declare all variables from NuEVI.ino used by the menu as extern in a separate header file (globals.h).
Also I moved all defines from NuEVI.ino to a config.h file. I think some of these could be moved back or even moved into menu.cpp.
I declared many variables and functions in menu.cpp as static and moved them around to avoid forward declarations. For simplicity I did some forward declarations anyway.
Some varibles only used in menu.cpp was moved from NuEVI.ino instead of having them as externals.
2019-06-03 19:24:21 +02:00
Johan Berglund
f0010cb08c
Support for CV box/CV board (compile option). Match idle CV from PWM breath CV on A6 to direct output idle voltage from breath sensor (so any of them can be used for CV box without need for recalibration of box). Added reading and ignoring incoming USB MIDI messages to prevent buffers from getting filled up blocking outgoing messages.
2019-05-25 11:05:17 +02:00
Johan Berglund
f06eb0b9a4
Cleanup
2019-03-21 09:28:21 +01:00
Johan Berglund
37c77356d5
Added way to enter regular menu instead of rotator menu (touch special key) if touch sensing is set too high. Added support for pneumatic bite sensing (add-on board). Experimental pitch CV out for built-in add-on CV scaler board (#define CVSCALEBOARD). LED brightness fix.
2019-03-21 09:15:28 +01:00
John Stäck
b6fc9c74d5
Merge pull request #4 from blind/calibrationloop
...
Use loop for calibration
2019-03-13 20:06:23 +01:00
John Stäck
cf89c9df42
Call this version 1.3.3. If it passes testing.
2019-03-05 08:02:31 +01:00
Mikael Degerfält
82b0f3a47c
Calibration code cleanup
2019-03-04 21:49:34 +01:00
Mikael Degerfält
e448ba427c
Loop for calibration
2019-03-04 21:40:48 +01:00
John Stäck
e388248c7c
Move all source files to subdirectory to be less confusing for Arduino IDE
2019-03-04 10:16:58 +01:00