hello team
in a project I receive the impulses from an external module and recalculate them in speed, I am proceeding step by step and everything worked well, now implementing the rs485 modbus module, but at the end of the compilation it gives me a series of errors
C:\Users\Max\Dropbox\radar\radar_AN_arduino_modbus.c: At top level:
C:\Users\Max\Dropbox\radar\radar_AN_arduino_modbus.c:5690: error: redefinition of '__vector_51'
C:\Users\Max\Dropbox\radar\radar_AN_arduino_modbus.c:5656: error: previous definition of '__vector_51' was here
also in the icon list they appear other errors that were not there before
I hope you can help me
thanks
Arduino module modbus
Moderator: Benj
-
- Posts: 110
- Joined: Mon Dec 23, 2013 9:34 pm
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
Arduino module modbus
- Attachments
-
- radar_AN_arduino_modbus.fcfx
- (41.52 KiB) Downloaded 116 times
-
- errori.png
- (279.19 KiB) Downloaded 71 times
-
- Posts: 110
- Joined: Mon Dec 23, 2013 9:34 pm
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
Re: Arduino module modbus
hello team
I'm very happy because I managed to make modbus work, the problems were multiple from the wiring and the software, but now everything is ok, I only have 2 questions:
1) does it make sense to use an interrupt on the rx pin of the 485?
2) the last bytes of the transmission from what I understand are the CRC, how are they generated?
thanks
I'm very happy because I managed to make modbus work, the problems were multiple from the wiring and the software, but now everything is ok, I only have 2 questions:
1) does it make sense to use an interrupt on the rx pin of the 485?
2) the last bytes of the transmission from what I understand are the CRC, how are they generated?
thanks