Skip to content

Commit

Permalink
Compile examples for Nano 33 BLE
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Feb 8, 2021
1 parent f797f74 commit 4adaf63
Show file tree
Hide file tree
Showing 43 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This is the first example used in the 'Getting Started' guide:
* https://tttapa.github.io/Control-Surface/Doc/Doxygen/dd/dcc/md_Getting-Started.html
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Written by PieterP, 2018-08-29
* https://github.com/tttapa/Control-Surface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This is the second example used in the 'Getting Started' guide:
* https://tttapa.github.io/Control-Surface/Doc/Doxygen/dd/dcc/md_Getting-Started.html
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* @htmlonly
* <iframe width="560" height="315"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* value when turned all the way to the right, tweak the `maximumValue`
* constant.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, ESP32, Teensy 3.x
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, ESP32, Teensy 3.x
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* can be used for changing effect parameters, volumes, pan and balance
* controls, etc. It can control almost any knob in your DAW software.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* controls, etc. It can control almost any knob in your DAW software.
* This example shows how to define multiple potentiometers using an array.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* can be used for changing effect parameters, volumes, pan and balance
* controls, etc. It can control almost any knob in your DAW software.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This is an example that demonstrates the use of MIDI Control Change Buttons.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* used for triggering samples, mute/solo/rec buttons, play/pause/stop buttons,
* etc. It can control almost any push button control in your DAW software.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This examples shows how to use a button matrix to read many switches.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* You can compare it to a rotary encoder, but with two buttons instead of an
* encoder.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Similar to the CCAbsoluteEncoder, there's also PBAbsoluteEncoder that sends
* absolute MIDI Pitch Bend messages.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates the use of MCP23017 I²C port expanders with rotary
* encoders that send relative Control Change messages.
*
* @boards AVR, AVR USB, Nano Every, Nano 33, Due, Teensy 3.x, ESP8266, ESP32
* @boards AVR, AVR USB, Nano Every, Nano 33 IoT, Nano 33 BLE, Due, Teensy 3.x, ESP8266, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* can be used for changing effect parameters, volumes, pan and balance
* controls, etc.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This is an example that demonstrates the use of MIDI Program Change buttons.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This is an example that demonstrates the use of MIDI Program Changers.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
2 changes: 1 addition & 1 deletion examples/2. MIDI Input/1. LEDs/1.Note-LED/1.Note-LED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates the use of LEDs that respond to incoming MIDI
* note events.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* incoming MIDI note events. This example uses a custom color mapper to
* get a rainbow effect across the LED strip.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Due, Nano 33 IoT, Teensy 3.x, ESP32
*
* @note You might lose incoming MIDI data while the LED strip is being
* updated. To avoid this, don't use an Arduino UNO.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates the use of LEDs that respond to incoming MIDI
* note events. The LEDs are driven by a 74HC595 (or equivalent) shift register.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
2 changes: 1 addition & 1 deletion examples/2. MIDI Input/1. LEDs/4.VULEDs/4.VULEDs.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Shift registers are used to drive the LEDs.
*
* @boards AVR, AVR USB, Nano Every, Nano 33, Due, Teensy 3.x, ESP8266, ESP32
* @boards AVR, AVR USB, Nano Every, Nano 33 IoT, Nano 33 BLE, Due, Teensy 3.x, ESP8266, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates the use of LEDs that respond to incoming MIDI
* note events by changing the brightness of an LED using PWM.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates the use of LEDs that respond to incoming MIDI
* note events. The LEDs are driven by a MAX7219.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates the use of addressable LEDs that respond to
* incoming MIDI note events.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Due, Nano 33 IoT, Teensy 3.x, ESP32
*
* @note You might lose incoming MIDI data while the LED strip is being
* updated. To avoid this, don't use an Arduino UNO.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This example demonstrates how to listen for incoming MIDI Pitch Bend events.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This example demonstrates how to use the MIDI interface for debugging.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
2 changes: 1 addition & 1 deletion examples/3. MIDI Interfaces/MIDI-Input/MIDI-Input.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This is an example on how to attach your own callbacks for receiving MIDI
* input.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
2 changes: 1 addition & 1 deletion examples/3. MIDI Interfaces/MIDI-Output/MIDI-Output.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This is an example on how to send MIDI messages.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* For a full list of available MIDI send functions, see @ref MIDI_Sender.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Surface itself, not just the input and output of MIDI interfaces. This is
* demonstrated in the @ref Dual-MIDI-Interface.ino example.
*
* @boards AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR USB, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*/

#include <Control_Surface.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Example showing how to send MIDI Note messages.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*/

#include <Control_Surface.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates how to use a Serial MIDI Interface, for use with
* 5-pin DIN connectors, for example.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Example showing how to send and receive MIDI System Exclusive messages.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*/

#include <Control_Surface.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/5.Banks/Bank/Bank.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This is an example that demonstrates the use of Banks.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x
* @boards AVR, AVR USB, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x
*
* Banks allow you to use a single control for many different actions.
* By changing the bank setting, you can change the address of a MIDI Element.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example introduces smart bankable potentiometers to prevent
* values jumping around when changing banks.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates how to use custom callbacks to display the value
* of a selector.
*
* @boards AVR, AVR USB, Nano 33, Due, Teensy 3.x, ESP8266, ESP32
* @boards AVR, AVR USB, Nano 33 IoT, Nano 33 BLE, Due, Teensy 3.x, ESP8266, ESP32
*
* Connections
* -----------
Expand Down
2 changes: 1 addition & 1 deletion examples/5.Banks/Transposer/Transposer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This is an example that demonstrates the use a Transposer to transpose the
* note events sent out by NoteButton%s.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
2 changes: 1 addition & 1 deletion examples/6.Hardware/FilteredAnalog/FilteredAnalog.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This examples shows how to filter an analog input, so you can get the
* position of a knob or fader without noise.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* To understand this example, you need to understand the @ref Bank.ino and the
* @ref Custom-MIDI-Output-Element.ino examples first.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* MIDI Note events when a push button is pressed or released. It's a simplified
* version of the @ref NoteButton class.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @see @ref MIDI_Senders for different kinds of MIDI senders to start from.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates how to attach custom callbacks to Note or
* Control Change MIDI Input Elements.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Due, Nano 33 IoT, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This example demonstrates how to attach custom actions to incoming Note or
* Control Change MIDI events.
*
* @boards AVR, AVR USB, Due, Nano 33, Teensy 3.x
* @boards AVR, AVR USB, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* a BD to decimal decoder.
* https://forum.arduino.cc/index.php?topic=651047
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Written by Pieter P, 2019-12-01
* https://github.com/tttapa/Control-Surface
Expand Down Expand Up @@ -34,10 +34,10 @@ const AddressMatrix<rows, columns> notes = {{
const Channel channel = CHANNEL_1;

// Address pins A, B, C & D of TC4028
const PinList<4> addressPins = {{2, 3, 4, 5}};
const AH::PinList<4> addressPins = {{2, 3, 4, 5}};
// The pins connected to the columns of the keyboard matrix (with external
// pull-down resistors)
const PinList<columns> columnPins = {{6, 7, 8, 9, 10, 11, 12, 13}};
const AH::PinList<columns> columnPins = {{6, 7, 8, 9, 10, 11, 12, 13}};

// Make the given line [0, 9] of the TC4028 high, the nine others low
void selectLine(uint8_t line) {
Expand Down
2 changes: 1 addition & 1 deletion examples/Other/MIDI-Input-Callback/MIDI-Input-Callback.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This is an example on how to attach your own callbacks for receiving MIDI
* input data.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*
* Connections
* -----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This is useful to discover what kinds of messages your DAW is sending.
*
* @boards AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
* @boards AVR, AVR USB, Nano Every, Due, Nano 33 IoT, Nano 33 BLE, Teensy 3.x, ESP32
*/

#include <Control_Surface.h>
Expand Down

0 comments on commit 4adaf63

Please sign in to comment.