Open WhippingBoy01 opened 4 months ago
Hi @WhippingBoy01
Could you provide your config including indentations? Please use a code-block
for that.
As is it is quit hard to read and I can't spot anything wrong.
P.S.: Which control box do you have? If you're not sure you can compare yours to the ones here: https://www.jiecang.com/product/control-boxes.html
Seems like i somehow have to "wake" the code with the first butten pressed. Then after first command i response to every button clik. but if wait 10-15 sec after last command i need to push twice again.
here is my code:
I have tried with both simple and advanced code.
here is out put from the log.
[12:53:50][D][sensor:093]: 'Heap Max Block': Sending state 21088.00000 B with 0 decimals of accuracy [12:53:50][D][sensor:093]: 'Heap Fragmentation': Sending state 10.00000 % with 1 decimals of accuracy [12:53:54][D][button:010]: 'Step up' Pressed. [12:53:55][D][sensor:093]: 'Heap Free': Sending state 29720.00000 B with 0 decimals of accuracy [12:53:55][D][sensor:093]: 'Loop Time': Sending state 13.00000 ms with 0 decimals of accuracy [12:53:55][D][sensor:093]: 'Heap Max Block': Sending state 21088.00000 B with 0 decimals of accuracy [12:53:55][D][sensor:093]: 'Heap Fragmentation': Sending state 10.00000 % with 1 decimals of accuracy [12:53:56][D][button:010]: 'Step up' Pressed. [12:53:56][D][number:012]: 'Height': Sending state 83.500000 [12:53:56][D][number:012]: 'Height': Sending state 83.800003 [12:53:57][D][number:012]: 'Height': Sending state 84.400002 [12:53:57][D][number:012]: 'Height': Sending state 84.900002 [12:53:57][D][number:012]: 'Height': Sending state 85.000000 [12:54:00][D][sensor:093]: 'Heap Free': Sending state 29720.00000 B with 0 decimals of accuracy
Software versions and model 2024.6.3|Flash: 1024kB Speed:40MHz Mode:DOUT|Chip: 0x006546c7|SDK: 2.2.2-dev(38a443e)|Core: 3.1.2|Boot: 31|Mode: 1|CPU: 80|Flash: 0x00164020|Reset: Software/System restart|Software/System restart