ESP32 daemon in toit for use with Pharo Smalltalk #1512
robvanlopik
started this conversation in
Show and tell
Replies: 3 comments 5 replies
-
@robvanlopik Assets are briefly explained here: https://github.com/toitlang/toit#adding-container-assets. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Looks nice. Cool how much functionality is packed into fewer than 200 lines of code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
To my smalltalk brain capitalized means global. And I couldn't resist
CamelCase.
…On Wed, Mar 22, 2023 at 4:36 PM Florian Loitsch ***@***.***> wrote:
Looks nice.
The coding conventions aren't really Toit, so there are some places where
I had a bit of trouble reading the code ("Capitalized" means "type" to my
brain :), but otherwise looks good.
Cool how much functionality is packed into fewer than 200 lines of code.
—
Reply to this email directly, view it on GitHub
<#1512 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALRT6M5ORBKQRS5LG7H6WY3W5MTBRANCNFSM6AAAAAAWD7SODE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Exposing the capabilities of a microcontroller for use on another computer with another programming language is not uncommon. Think of Firmata on Arduino, or PiGPIO on Raspberry Pi. In Pharo I have a framework for this, using that kind of firmware. Having followed toit for over a year, I thought it was time to build another bridge. The daemon is written in toit, the other side is a driver for Pharo and communication is through MQTT. See my repo. I hope somebody finds this useful, at least the idea; I must confess this is the first time in many years that I used a programming language other than smalltalk.
I want to add at least out-of-band messages like notifications of pin state changes.
BTW. Can someone point me to some documentation about the use of "assets" and especially how to create them?
Beta Was this translation helpful? Give feedback.
All reactions