alex (he/him)
10/26/2025, 7:52 PMjag monitor. Any ideas?
import gpio
import pixel_strip show PixelStrip
PIXELS ::= 1
main:
pin := gpio.Pin 08
pixels := PixelStrip.uart PIXELS --pin=pin
r := ByteArray PIXELS
g := ByteArray PIXELS
b := ByteArray PIXELS
r.fill 0x44
g.fill 0x80
b.fill 0xff
pixels.output r g b
sleep --ms=1
https://cdn.discordapp.com/attachments/1432094642517704946/1432094642761109615/message.txt?ex=6901c7d1&is=69007651&hm=9bee49a60b551b46298f8298e2d562c69afc3af74da7665ee36c1ef66576a1f4&floitsch
10/26/2025, 7:55 PMfloitsch
10/26/2025, 7:55 PMfloitsch
10/26/2025, 7:55 PMfloitsch
10/26/2025, 7:57 PMPixelstrip.rmt. (for one pixel that should work perfectly fine)floitsch
10/26/2025, 8:08 PMfloitsch
10/26/2025, 8:08 PMrmt variant doesn't seem to work either.
Very strange.
I will debug.alex (he/him)
10/26/2025, 8:08 PMrmt puts it into deep-sleepalex (he/him)
10/26/2025, 8:09 PMalexanderniebuhr@MacBookPro ~/D/P/c/toit [1]> jag monitor
✔ /dev/cu.usbmodem578E0248291
Starting serial monitor of port '/dev/cu.usbmodem578E0248291' ...
J�ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x9c
load:0x4086c110,len:0xb94
load:0x4086e610,len:0x2534
entry 0x4086c110
[toit] INFO: starting <v2.0.0-alpha.188>
[toit] DEBUG: clearing RTC memory: invalid checksum
[toit] INFO: running on ESP32C6 - revision 0.0
[toit] INFO: entering deep sleep without wakeup timefloitsch
10/26/2025, 8:10 PMfloitsch
10/26/2025, 8:10 PMfloitsch
10/26/2025, 8:11 PMalex (he/him)
10/26/2025, 8:11 PMjag monitorfloitsch
10/26/2025, 8:11 PMalex (he/him)
10/26/2025, 8:11 PMalex (he/him)
10/26/2025, 8:11 PM/Users/alexanderniebuhr/.cache/jaguar/sdk/bin/toit compile --snapshot -o hello.snapshot hello.toit && /Users/alexanderniebuhr/.cache/jaguar/sdk/bin/toit tool firmware -e firmware.envelope container install -o hello.envelope hello hello.snapshot && /Users/alexanderniebuhr/.cache/jaguar/sdk/bin/toit tool firmware -e hello.envelope flash --port /dev/tty.usbmodem1401 --baud 921600floitsch
10/26/2025, 8:11 PMfloitsch
10/26/2025, 8:12 PMfloitsch
10/26/2025, 8:12 PMfloitsch
10/26/2025, 8:12 PMrmt PixelStrip.rmt on the C6alex (he/him)
10/26/2025, 8:13 PMfloitsch
10/26/2025, 8:13 PMimport pixel_strip show I2sPixelStrip
...
main:
...
pixels := I2sPixelStrip PIXELS --pin=pinfloitsch
10/26/2025, 8:14 PMalex (he/him)
10/26/2025, 8:16 PMfloitsch
10/26/2025, 8:17 PMalex (he/him)
10/26/2025, 8:18 PMfloitsch
10/26/2025, 8:18 PMfloitsch
10/26/2025, 8:19 PMI2sPixelStrip variant doesn't work for you?alex (he/him)
10/26/2025, 8:20 PMfloitsch
10/26/2025, 8:21 PMfloitsch
10/26/2025, 8:25 PMfloitsch
10/26/2025, 8:30 PMfloitsch
10/26/2025, 8:31 PMalex (he/him)
10/26/2025, 8:42 PMfloitsch
10/26/2025, 8:45 PMfloitsch
10/26/2025, 9:55 PMuart_ll_update, which waits for the peripheral to clear a bit.
I think the clock isn't active which is why we just keep looping there.
Will give up for today, but this is now a high priority.z3ugma
11/04/2025, 4:24 AMz3ugma
11/04/2025, 4:27 AMimport uart
import gpio
RX0 ::= gpio.Pin 14
TX0 ::= gpio.Pin 15
main:
port1 := uart.Port
--rx=RX0
--tx= TX0
--baud-rate=9600floitsch
11/04/2025, 3:20 PMz3ugma
11/05/2025, 12:43 AMlog and print statements. will we be able to accept input from Uart0 Rx as program inputfloitsch
11/05/2025, 7:56 AMz3ugma
11/05/2025, 8:55 AMfloitsch
11/05/2025, 8:56 AMfloitsch
11/05/2025, 8:57 AMfloitsch
11/05/2025, 8:58 AMz3ugma
02/06/2026, 7:03 PMimport uart
import gpio
RX0 ::= gpio.Pin 14
TX0 ::= gpio.Pin 15
main:
port1 := uart.Port
--rx=RX0
--tx= TX0
--baud-rate=9600
this tiny example still causes a deadlock on c6. Is there a newer version of the SDK that I should be pointing to?floitsch
02/06/2026, 9:38 PMz3ugma
02/06/2026, 9:51 PMz3ugma
02/06/2026, 9:51 PMfloitsch
02/06/2026, 9:52 PMz3ugma
02/06/2026, 10:11 PMfloitsch
02/06/2026, 10:12 PMz3ugma
02/06/2026, 10:13 PMz3ugma
02/15/2026, 6:48 PMfloitsch
02/15/2026, 6:51 PM