tworkshyd / DisplayBoard-MCU2

Arduino code to drive the Display, Config, DAQ and Commands to the RelayModule.
MIT License
1 stars 5 forks source link

Debug issues [dev branch] #8

Closed rohan-tworks closed 4 years ago

rohan-tworks commented 4 years ago

Flashing code from dev branch casuses the following:

  1. Motor movement is slow
  2. Microcontroller resetting with the following error Screenshot

Steps to reproduce

ritesh007garg commented 4 years ago

The slow movement of the rotor is due to heavy debug logging from serial port. To disable logging please change the following macro

define VENT_DEBUG_LEVEL VENT_DEBUG_LEVEL_NONE

rohan-tworks commented 4 years ago

Hi, @ritesh007garg we tired with changing to debug level to none, the motor is not moving when we start the machine.

We have reset both the boards, but still, the motor doesn't move We have even tried resetting both the boards, still no avail.

rohan-tworks commented 4 years ago

Hi,

So we tried all levels of debugging,

The machines work at NONE, ERR, INFO but not at HIGH

Currently, P3b-dev is set to INFO and we are capturing logs on a desktop for both the boards.

anand-tworks commented 4 years ago

Using INFO level. Which should be ok for now.