I have a code of old Ind IO board leonardo based. now i want to use this in new d21g board. but it is not working. in this program i am sending analog value to the rs485 port.
The relevant changes for your code are probably:
- change Serial to SerialUSB for interaction with Serial Monitor over USB
- change Serial1 to Serial for RS485
The specifics for the D21G are detailed in the docs https://github.com/Industruino/documentation/blob/master/indio.md#d21g-board-specific-features
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!