This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include "pico/sync.h" | |
struct repeating_timer timer; | |
const int us_interval = 1000 * 1000 * 1; | |
volatile bool ready_for_phase_2 = false; | |
volatile bool phase_2_started = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set your config options here! | |
// clock source setting | |
//#define DEFAULT_CLOCK_MODE CLOCK_INTERNAL | |
#define DEFAULT_CLOCK_MODE CLOCK_EXTERNAL_USB_HOST | |
// midi settings | |
//#define TRUE_MIDI_SERIAL // use true MIDI baud rate, for when eg uno controller has been flashed with usbmidiklik | |
//#define TRUE_MIDI_SERIAL true // use true MIDI baud rate, for when eg uno controller has been flashed with usbmidiklik | |
#define TRUE_MIDI_SERIAL false // for using Hairless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set your config options here! | |
// clock source setting | |
#define DEFAULT_CLOCK_MODE CLOCK_INTERNAL | |
//#define DEFAULT_CLOCK_MODE CLOCK_EXTERNAL_USB_HOST | |
// midi settings | |
//#define TRUE_MIDI_SERIAL // use true MIDI baud rate, for when eg uno controller has been flashed with usbmidiklik | |
#define TRUE_MIDI_SERIAL true // use true MIDI baud rate, for when eg uno controller has been flashed with usbmidiklik | |
//#define TRUE_MIDI_SERIAL false // for using Hairless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://patch-diff.githubusercontent.com/raw/langolierz/r_e_c_u_r/pull/138.patch | patch -p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/display_centre/menu.py b/display_centre/menu.py | |
index da4534f..16232f3 100644 | |
--- a/display_centre/menu.py | |
+++ b/display_centre/menu.py | |
@@ -237,6 +237,8 @@ class ShadersMenu(Menu): | |
indent = ' ' * 4 * (current_level) | |
for folder in sorted(dirs): | |
+ if folder[0]=='.': | |
+ continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Login to r_e_c_u_r terminal as `pi` user | |
2. `cd r_e_c_u_r` | |
3. `wget https://patch-diff.githubusercontent.com/raw/langolierz/r_e_c_u_r/pull/132.patch` | |
4. `patch -p1 < 132.patch` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
used for dev/testing in conjunction with https://gist.github.com/doctea/134fa35dd359380071ad426377d28cc5 | |
*/ | |
if (!function_exists('print_rp')) { | |
function print_rp($data, $message = "output:") { | |
?><pre><?php print htmlspecialchars($message) ?><?php print_r($data) ?></pre> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40c40,41 | |
< const API_URL = 'http://chart.apis.google.com/chart'; | |
--- | |
> //const API_URL = 'http://chart.apis.google.com/chart'; | |
> const API_URL = 'https://image-charts.com/chart'; // use image-charts.com free, since Google's charts API is deprecated and being shut off in first half of March 2019 | |
103c104 | |
< protected $_encoding = 'e'; | |
--- | |
> protected $_encoding = 'a'; // | |
273a275,279 |