I did follow the wiki on https://siminnovations.com/wiki/index.p ... #Installer in order to use hw_... library to send and receive message from arduino
No problem to compile the skecth and send it to arduino; the problem is on lua thats stops with error because the hw_... functions does not exists
here the code
ERROR - Error loading instrument script: logic.lua [string "logic.lua"]:15: attempt to call a nil value (global 'hw_message_port_add')function new_message(id, payload)
print("received new message with id " .. id)
end
msgprt = hw_message_port_add("ARDUINO_UNO_B", new_message)
same when I call
ERROR - error in hardware button pressed callback: [string "logic.lua"]:51: attempt to call a nil value (global 'hw_message_port_send')hw_message_port_send(msgprt, 777, nil, 0)
Any helps?
Thanks