GithubHelp home page GithubHelp logo

testing's People

Contributors

bleckers avatar

Stargazers

 avatar

Watchers

 avatar  avatar

testing's Issues

Serial outputs junk

Greetings,
I encounter several problems while running test code for mappy dot vl53l0x on arduino uno board.
Firstly, I needed to change i2c_t3.h to Wire.h as in 0ce07dc.
Secondly, lowering down serial data transmission bit rate from 115200 to 9600 made the hello menu available. However, after the menu the junk is printed:

Read: 43
n - device_name_write
s - simple_read
r - read
N - no_restart_read
f - test_non_filtered_distance
B - too_many_bytes
e - error_code
a - distance_accuracy
v - firmware_version
d - device_name
S - settings_read
h - print_menu
1 - set_led_mode_threshold
2 - set_led_mode_on
3 - set_led_mode_off
4 - set_led_mode_pwm
5 - set_led_mode_measurement
6 - set_gpio_mode_threshold
7 - set_gpio_mode_on
8 - set_gpio_mode_off
9 - set_gpio_mode_pwm
0 - set_gpio_mode_measurement
! - set_led_threshold_300
@ - set_led_threshold_100
# - set_gpio_threshold_300
$ - set_gpio_threshold_100
R - read_factory_defaults
W - write_as_startup_settings
F - enter_factory
C - set_continuous
q - set_single
p - perform_single_range
D - measurement_mode_default
H - measurement_mode_high_speed
L - measurement_mode_long_range
A - measurement_mode_high_accurate
c - measurement_mode_custom
I - intersensor_crosstalk_enable
i - intersensor_crosstalk_disable
V - reset_vl53l0x
g - shutdown_vl53l0x
G - startup_vl53l0x
M - averaging_samples_4
X - averaging_samples_10
O - filtering_enable
o - filtering_disable
Y - averaging_enable
y - averaging_disable
- - change_address
? - calibration_routine
k - custom_settings_write_default_profile
K - custom_settings_write_accurate_profile
. - addr_in_test
t - interrupt_read
{ - signal_rate_return
} - ambient_rate_return
Curr�⸮�w�;=��s is: 8  aar����������r���������������s: �����������4��⸮�w�;=��������8a��������⸮⸮⸮�
�������������������⸮���⸮�⸮⸮⸮�3����⸮�w�;=������a�������������������������������������������r������⸮�w�;=�a�a�������⸮�⸮⸮⸮��������������������⸮���������⸮�
��������⸮�w�;=��⸮⸮�����������r���������������⸮��������⸮�⸮⸮⸮������������⸮�w�;=���������⸮⸮⸮�
�����������������⸮������������r������������⸮�w�;=��������������������������������������⸮⸮⸮�
��������������⸮�w�;=��⸮�⸮⸮⸮������������������⸮�������������%�����������������⸮�w�;=�⸮����r����������������r�������⸮�⸮⸮⸮�$�������������������⸮�w�;=��⸮�
������������������������������r���������������������⸮�w�;=�����������������������������⸮⸮⸮�
�����������������������⸮�w�;=���������������������������������������������������������⸮�w�;=����������������������⸮�⸮⸮⸮����������������������������⸮�⸮�w�;=��������������������������r������������������������������⸮�w�;=��������������������⸮⸮⸮�
�����������������������⸮�⸮⸮⸮�5��⸮�w�;=�����������⸮����������������������������������������r����⸮�w�;=�������������⸮�⸮⸮⸮��������������������⸮⸮������⸮⸮⸮�
������⸮�w�;=�����⸮�����������r������������������������⸮�⸮⸮�-���������⸮�w�;=�⸮���������⸮⸮⸮�
�����������������⸮
����������������������⸮�w�;=������������

The sensor can read the distance in a single shot like the doc states:

uint16_t distance = Wire.read() << 8; distance |= Wire.read();

I'd like to see the full functionality available in MappyDot vl53l0x. What is the continous read mode, etc. I hope these tests make it clear. But I need to be able to run them first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.