My LCD works perfectly, I have tried with other codes. Now I need to show the answers I get of the Serial Monitor into the LCD Display. I did this to get the values:
- Connect both modules, of course.
- Open the Serial Monitor of one of them
- Send AT Commands like AT+INQM=1,5,9. This helped me to turn on the RSSI mode and say to the module I needed five answers in nine seconds.
- Write AT+INQ to detect the second module, it returns with the addres, the type field and the strength of the signals.
Then I did it puting the modules to different distances, in different places of my room: 0.5 meters, 1 meter, 1.5 meters, 2 meters and 2.5 meters.
I got this:
0.5 meters=When I put this to 0,5 meters I get values from FFD5 to FFCF.
1 meter=When I put this to 1 meter I get values from FFCF to FFC9
1.5 meters=When I put this to 1,5 meters I get values from FFC9 to FFC5
2 meters= When I put this to 2 meters I get values from FFC5 to FFBD
2.5 meters= When I put this to 2,5 meters I get values from FFBD to FFB9
I want that my LCD shows the distance when I put the AT Command in the Serial Monitor. Is there a way to do that?