pyr0ball / pyr0piezo

An AVR/ARM based piezoelectric sensor for use in ultra-precise applications
https://docs.pyroballpcbs.com/
Other
71 stars 23 forks source link

[BUG] For VFOL and VCOMP input, parameters don't take immediately #56

Closed pyr0ball closed 4 years ago

pyr0ball commented 4 years ago

Describe the bug When sending new configuration parameters over UART, the user either needs to send the command twice, or wait for a period of time (roughly 4-5 minutes) before the new parameter will be reflected in the board's behavior. If the board is reset, using the reset pin and not just power loss, these two parameters get 0'd out and will not work again til that delayed execution time is passed, or new parameters get sent.

To Reproduce Steps to reproduce the behavior:

Send a command to change VFOL or VCOMP over serial while DEBUG is enabled. ADC readings will not change for a while unless the user sends another command editing the same parameter.

image

Expected behavior When a parameter is sent over UART, the changes should be immediate

Pyr0-Piezo (please complete the following information):

pyr0ball commented 4 years ago

Fixed in #57