From 978787b581a8cab6dc0cebb526f29d682a81bfa6 Mon Sep 17 00:00:00 2001 From: Brian Whitman Date: Tue, 27 Aug 2024 16:49:54 -0700 Subject: [PATCH] fixing website --- tulip/shared/keyscan.c | 3 ++- tulip/shared/py/editor.py | 4 +--- www/index.html | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/tulip/shared/keyscan.c b/tulip/shared/keyscan.c index e318e6a69..c95e0ecdc 100644 --- a/tulip/shared/keyscan.c +++ b/tulip/shared/keyscan.c @@ -409,8 +409,9 @@ void send_key_to_micropython(uint16_t c) { mp_sched_schedule(ui_switch_callback, NULL); } else { // Call the callback if set - if(keyboard_callback != NULL) + if(keyboard_callback != NULL) { mp_sched_schedule(keyboard_callback, mp_obj_new_int(c)); + } // If something is taking in chars from LVGL (text area etc), don't send the char to MP if (c==mp_interrupt_char) { diff --git a/tulip/shared/py/editor.py b/tulip/shared/py/editor.py index 3c7b6c036..4447bed3e 100644 --- a/tulip/shared/py/editor.py +++ b/tulip/shared/py/editor.py @@ -26,8 +26,7 @@ def __init__(self, filename): def deactivate_editor_cb(self, screen): tulip.keyboard_callback() tulip.tfb_restore() - # Fudge the repl line as it got eaten during the TFB restore. This will never be a problem, lol - #print(">>> ",end='') + def quit_editor_cb(self, screen): tulip.deinit_editor() @@ -45,7 +44,6 @@ def activate_editor_cb(self,screen): tulip.keyboard_callback(tulip.key_editor) # The TFB switches over, but the REPL will print >>> after this runs, # overwriting the first line. So wait a bit and activate then - # (This also means the >>> will print on the alternate TFB, so we have to fudge on reactivate) tulip.defer(tulip.activate_editor, None, 50) # And because of the TFB clearing, the buttons may get destroyed, so re-draw them tulip.defer(draw, None, 100) diff --git a/www/index.html b/www/index.html index ec34dd213..37e90dd8a 100644 --- a/www/index.html +++ b/www/index.html @@ -321,8 +321,8 @@

Buy a Tulip, DAC or Alles. Ships anywhere in the world.
@@ -341,7 +341,7 @@
Tulip CC
Mabee DAC
Two-channel DAC
-

Plugs right into a Tulip to give you two channels of CV control over modular synths with standard 3.5mm patch cables. With some light modification, you can have up to 4 running at once for 8 channels.

+

Plugs right into a Tulip to give you two channels of CV control over modular synths. Please note: this DAC is set up for TRS (stereo 3.5mm) cables. To use with a modular patch cable, you will need a stereo to mono adapter or cable plugged in at the DAC end. We are working on fixing this for future batches and will update this when we do.

US$5.80 on Makerfabs