Arduino: How to return the value in Arduino function (that can be read by the connected device)?

Published --