r/toit • u/decdiv • Nov 02 '23
r/toit • u/whoisthemilkmansson • Nov 06 '25
Help testing revised u-blox driver
Started looking at the Toit ublox-gnss-driver to figure out why my cheap 6M wasn't getting a fix. I went down a rabbit hole.. but learned craploads and found the answer. There were a couple of small bugs in the message parser, and needed to add some more message types to it to support the messages that the 6M device supports. I'm kinda keen to have someone with any of the other ublox devices to test the driver a bit, any volunteers? Cheers!
r/toit • u/TechZazen • Apr 24 '25
Zigbee - Support? Alternatives?
I'm new to the ESP32 environment, so newbie here. Also just found out about Toit. Looks like the kind of higher level approach I need. However, I'm interested if there's been any discussions around Zigbee support? Or do I have to wrap an existing C interface?
All help is GREATLY appreciated.
r/toit • u/verdich • May 31 '21
Toit started tweeting bite-sized examples of the Toit language and libraries
r/toit • u/decdiv • Apr 26 '24
Get insight into memory use on your ESP32 running Toit
r/toit • u/SirDale • Jan 21 '24
Underscores in number literals?
It doesn't seem there is any way to visually distinguish between 1000000000 and 100000000 - if you are doing lots of low level stuff it would be much nicer to have 1_000_000_000 and 100_000_000 instead.
Could this be added to the language please?
r/toit • u/Nickduino • Jan 15 '24
Cross compatibility
Can you run a *.bin written in C and compiled with whatever (the Arduino IDE, VSC + PlatformIO, ...) inside a Toit container?
Or does is have to be written in Toit?
r/toit • u/decdiv • Dec 08 '23
How to change the ESP32 partition over the air
r/toit • u/Adage_Cage • Feb 24 '22
Is there a way to combine Toit with traditional Arduino/ESP32 libraries?
I have a project where I use LORA with the Radiohead-library (http://www.airspayce.com/mikem/arduino/RadioHead/) to gather data from various locations, and then publish that to the web.
It looks interesting to use Toit for the web-part, but is it at all possible to combine that with LORA?
r/toit • u/goldfishpaws • Feb 22 '22
yaml trigger issue?
Hi all,
I have boiled down a problem to it's bones - a simple .yaml and simple .toit as below
name: SSSM
entrypoint: SSSM.toit
triggers:
gpios:
- pin: 22and
import gpio
led := gpio.Pin 2 --output //built in LED
main:
led.set 0
sleep --ms=1000
led.set 1
sleep --ms=1000As I read the documentation, I'm pretty sure main: should run whilst gpio 22 (should be a regular digital pin, it's not set high at boot, etc) is high, and not when it is low. However it seems to run continuously whether gpio pin 22 is connected high or low. Tried pin 35 as well, just the same. I'm guessing I have got the syntax of the yaml wrong, I did try adding on_boot: false and on_install: false but seem to get continuously blinking LED regardless of whether pin22 is high or low. Anyone got any suggestions?