Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <windows.h> | |
| #pragma comment( lib, "user32.lib" ) | |
| #pragma comment( lib, "gdi32.lib" ) | |
| #define SCRW 640 | |
| #define SCRH 480 |
| import time | |
| import board | |
| import usb_midi | |
| import adafruit_midi | |
| from analogio import AnalogIn | |
| from adafruit_midi.control_change import ControlChange | |
| # MIDI CC knob controller example for Raspberry Pi Pico |
| $gtk.reset seed: Time.now.to_i | |
| #puts "++++++++++++++++++ RESET +++++++++++++++++++++" | |
| =begin | |
| Creates a few different effects using particles | |
| explode: fly apart dramatically and burn with flaming colours | |
| melt: fall apart in a downward direction while turning toxic green | |
| disintegrate: break apart less dramatically without burning colours |