Hello Guest it is April 24, 2024, 08:31:05 PM

Author Topic: Arduino read ADC value into Mach4 register via TCP  (Read 606 times)

0 Members and 1 Guest are viewing this topic.

Arduino read ADC value into Mach4 register via TCP
« on: June 22, 2020, 11:35:40 PM »
Here is an example of an Arduino connecting to a wxServer in Mach4 to send data to a register, read in from an ADC.

The profile and arduino sketch are attached.

Code: [Select]
https://youtu.be/KPRF2hKFgYE
wxServer/Client examples:

Code: [Select]
https://github.com/pkulchenko/wxlua/blob/master/wxLua/samples/server.wx.lua
https://github.com/pkulchenko/wxlua/blob/master/wxLua/samples/client.wx.lua
« Last Edit: June 22, 2020, 11:41:35 PM by compewter_numerical »