TheThingsIndustries / generic-node-se

Generic Node Sensor Edition
https://www.genericnode.com
Other
108 stars 31 forks source link

Accelerometer reading prints the wrong number of times. #224

Closed pradeeka7 closed 2 years ago

pradeeka7 commented 2 years ago

Summary:

When you run the basic app, the number of times the serial terminal prints the accelerometer reading is less than 1 the value defined in the app_config.h file.

For example, if you define,

define NUMBER_ACCELEROMETER_READ 5

The expected number of times is 5 but you will get 4 readings.

However, this does not happen when you run the application in debug mode.

Steps to Reproduce:

  1. Connect the GNSE to the computer.
  2. Open the serial terminal
  3. Run the project with STM32CubeIDE

What do you see now?

image

image

What do you want to see instead?

Accelerometer data should be printed 5 times.

How do you propose to implement this?

...

Environment:

Windows10 + STM32CubeIDE + TM Terminal

What can you do yourself and what do you need help with?

...