Re: RS485 example
Posted: Thu Mar 28, 2024 12:19 pm
Thank you very much chipfryer27 for your last response.
I completely forgot to disable WDT.
Once disabled on both the master and slave, Proteus now works correctly according to the FC files:
- The Tx pin no longer permanently sends the "FE" value.
- The times programmed in FC are met correctly in Proteus
- The master reads his keyboard well and sends the corresponding commands.
- The slave receives, interprets and correctly executes what is sent by the master.
The next step will be that when the slave receives a request from the master, it reads its own keyboard and the value of the pressed key is sent to the master.
But that will be starting next Tuesday, now it's a few days of holydays.
Once again I reiterate my gratitude for your responses.
I completely forgot to disable WDT.
Once disabled on both the master and slave, Proteus now works correctly according to the FC files:
- The Tx pin no longer permanently sends the "FE" value.
- The times programmed in FC are met correctly in Proteus
- The master reads his keyboard well and sends the corresponding commands.
- The slave receives, interprets and correctly executes what is sent by the master.
The next step will be that when the slave receives a request from the master, it reads its own keyboard and the value of the pressed key is sent to the master.
But that will be starting next Tuesday, now it's a few days of holydays.
Once again I reiterate my gratitude for your responses.