I've been successfully using the Message Port library on an Arduino UNO for a while but I was wondering if it was possible to run Message Port on an ESP32? I have an ESP32 flashed and it appears in Air Manager (v4.1.5) as a Message Port based device, however I cannot seem to configure an instrument to use it.
The code below is what I am using for a test instrument and when using the Arduino UNO I configure MCU1 as "Arduino UNO" and "Channel A" (under the hardware properties of the instrument), however there is no option to select an ESP32.
Code: Select all
function new_message(id, payload)
print("received new message with id " .. id)
end
id = hw_message_port_add("MCU1", new_message)