hi everyone
i face a problem that i have maxsonar and lcd
i want to show up the distance on the lcd screen
i searched for tutorials but i did not find
so please help
hi everyone
i face a problem that i have maxsonar and lcd
i want to show up the distance on the lcd screen
i searched for tutorials but i did not find
so please help
First get one thing working at a time:
Go through the LCD tutorial get it to display hello world.
e.g. lcd.print("hello world")
Then if your sensor is working and returning to a variable like distance you could lcd.print(distance)
I have a similar problem,
I have a Parallax LCD (4X20) and a Maxbotix MB7072 sensor
I can't use the three libraries at the same time
#include <SoftwareSerial.h>
#include <ParallaxLCD.h>
#include "Maxbotix.h"
when I include the Maxbotix.h I get errors in compilation.
Maxbotix/RxSoftwareSerial.cpp.o: In function __vector_9':* */Users/Efrag/Documents/Arduino/libraries/Maxbotix/RxSoftwareSerial.cpp:295: multiple definition of
__vector_9'
SoftwareSerial/SoftwareSerial.cpp.o:/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/SoftwareSerial.cpp:305: first defined here
Any help please ????
Lose one of the libraries - they're clashing for the use of one interrupt vector.
Is there something wrong with your '?' key?
Thank you AWOL.
AWOL:
Is there something wrong with your '?' key?
No,!!!!
Lose one of the libraries - they're clashing for the use of one interrupt vector.
AWOL:
It sounds difficult !
but if I simply "lose" one lib, it's not working?
Should I change the ParallaxLCD.h or Parallax.cpp ?
Thanks.
Try getting rid of Software Serial and use RxSoftwareSerial instead. You can't use both and Maxbotic.h uses RxSoftwareSerial.