[Gambas-user] Write a new component: Firmata (Second attempt)

Matias De lellis mati86dl at gmail.com
Tue Mar 27 17:03:11 CEST 2018


Good day list,

Thanks to my employer's concerns i returned to an old project.. A firmata
component that allows interacting with Arduino - and other development
boards - using this protocol.  When I started it originally due I taught
Arduino classes, and received a lot of help - Thanks again -, but I did not
manage to finish it on time.. :disapointed:

Well.. I went back again, with the approach suggested by Tobias Boege based
on DataSource container and I have something usable. However, now have
another question.

I attach a test version of the component. It has a Led class - Which is
literally a copy of 'SwitchButton' - which is shown in the toolbar, but
when I put the control on the form, I can not get it to show the Switch. It
show the component icon.. :disapointed:

Please.. keep in mind that it is just an example, I do not want to show the
SwitchButton. I want to draw a led considering a color, and this seemed
like a good starting point... :wink:

Can you please check if I'm missing something?

p.s:
2nd doubt: Is there any way to install the component for the user to test.?
$home/.local/gambas??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180327/c7f0fb08/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb.firmata-0.2.7.tar.gz
Type: application/gzip
Size: 22768 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180327/c7f0fb08/attachment-0001.gz>


More information about the User mailing list