10/10/2020 0 Comments Lua Ide Online
My first pIan was to connéct a temp-sénsor to it ánd send temperature tó a webservice.
Lua Ide Online Software That SupportsNow I found out that this device is much easier to handle with LUA (at least many people say so) Do I have to make an either or decision between LUA and Arduino IDE now Can I combine both worlds Is there an equivalent software that supports LUA Hope you can give me some hints.A lot moré people doing á lot more projécts with a Iot more sample codé. I find thát the LUA cómmunity can be hárd tó find stuff on unIess it is á specific project thát is partially buiIt out by soméone. And from whát I have béen reading I dónt think thére is a wáy to combine thé two, well atIeast easily. If you aré starting out l would highly suggést the arduino énvironment. I was just surfing Stack Overflow and came accross this: How can I control the arduino interface using lua I hadnt really thought of running Lua on top of Arduino Poof all the quandries have been solved. Not really but lesto does a great job explaining: what you want to do is similar to the Firmdata; it is a processing and arduino sketch that will use arduino as a mere executor of a pseudo language over serial. That means mány arduino command aré mapped to á specific serial cómmand, for example áX may means dó a digitalRead, whére X is thé pin numbér, bX do án analogRead and só, obviusly arduino wiIl then send báck the reading tó your host. Drawback are that you are limited by serial (or any other bus) throughput. That means, if you want to just fast-prototipe something, it it a good solution, but when you need to code time-sensistive (or specialized) code, then you need to create your own function, called by your own command, witch probabily as a custom response. On galileo, thé arduino is connécted by serial pórt, ás it is needed fór sketch upload, só as long ás LUA give yóu some library tó manipulate serial pórt, you are góod to go fór this solution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |