2/24/2023 0 Comments Lua read write serial port![]() Result: I was able to send data using this method which is great news. I installed the contents of SRC into the same directory as my Lua code, however it is probable that is not the right way to do it. Result: require "rs232" fails in the code as it can't find the file. Result: No data comes out the port, but no errors are generated Attempt: Embed a powershell script to open the serial port. ![]() So far, I have tried the following solutions: I am using ZeroBrane Studio for development but am not yet comfortable installing libraries. Currently, I have two FTDI cables wired together and can communicate between them using RealTerm (a terminal program) for testing, so I do know the wiring is correct. However, I am stumped by the serial communication. I am trying to read and write to a COM port on my Windows 10 computer to the printer's Arduino. My overall program goal is to create a better 3D printer calibration GUI using Lua and I luckily have the GUI part already working. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |