Accelermoter issue with VEXcode V5 Text

Hi,

I’m trying to program Accelerometer 1.0 with VEXcode V5 Text, according to the product description, it has two sensitivity ranges: +2g to -2g(with out jumper) and +6g to -6g(with jumper). So I installed one accelerometer to my V5 robot horizontally, connect Z axis to V5 brain, and leave the robot on table don’t move. then printed the sensor value to brain screen, result as below screenshot:
%E5%9B%BE%E7%89%87

According to the production description https://www.vexrobotics.com/276-2332.html#Description the sensor will detect a constant 1.0G while at rest, so the result here seems incorrect. then I made another test, which choose Accel6G in VEXcode, but removed the jumper(so the accelerometer range should be +2g to -2g), then printed the value: 1.00

So the device type here in VEXcode V5 Text was wrong or my first test was wrong? Anyone can help verify this issue?
Thanks in advance.

1 Like

any one help?:pensive:

We’re looking into it… I’ll hopefully have more for you tomorrow!

1 Like

Graphical configuration just has them backwards (ie. it’s a bug)
So the ACCEL2G is creating the constructor for the accelerometer in low sensitivity rather than high sensitivity. That’s why one is reading 1/3 of what it should be and the other 3x.

2 Likes

got it, thanks !:+1: