Ultrasonic EBM019 Sensors
Posted: Tue Apr 17, 2018 11:18 am
Hi,
I am having difficulty using the ultrasonic sensor with the E-Blocks Combo board EB083.
The test programs and examples all use a standalone LCD panel which makes the choice of ports simple enough for me to understand, but when using the combo board, that takes up Port A and B.
I am possibly missing an obvious change to the program to use the sensor board with Port C or D... could someone please help modify the program to work with the Combo Board EBM083 and the sensor on Port C or D?
I have attached both the original test program off the wiki, as well as my attempt to modify it to work with the combo board. It works in the simulation, but not on the hardware. On the hardware it just flashes a number between about 40 and 70 (on the bottom row of the LCD) and then stays on 0 thereafter.
I am having difficulty using the ultrasonic sensor with the E-Blocks Combo board EB083.
The test programs and examples all use a standalone LCD panel which makes the choice of ports simple enough for me to understand, but when using the combo board, that takes up Port A and B.
I am possibly missing an obvious change to the program to use the sensor board with Port C or D... could someone please help modify the program to work with the Combo Board EBM083 and the sensor on Port C or D?
I have attached both the original test program off the wiki, as well as my attempt to modify it to work with the combo board. It works in the simulation, but not on the hardware. On the hardware it just flashes a number between about 40 and 70 (on the bottom row of the LCD) and then stays on 0 thereafter.