dstroy0 / InputHandler

Arduino input handler
https://dstroy0.github.io/InputHandler/
GNU General Public License v3.0
1 stars 0 forks source link

missing argument control char output #31

Closed dstroy0 closed 2 years ago

dstroy0 commented 2 years ago

correct:

$test 1 2 3 4 -5 6 77\r\n 8

Test user input types: uint8_t 1 uint16_t 2 uint32_t 3 int 4 float -5.000 char 6 c-string 77

unknown-type 8

'\r\n' present in c-string argument.

also correct, but I want to adjust this to escape user entered control char, so the 77 would be '77\r\n'(OK)

$Invalid input: test '1'(OK) '2'(OK) '3'(OK) '4'(OK) '-5'(OK) '6'(OK) '77 '(OK) 'INPUT NOT RECEIVED'*(NOTYPE REQUIRED)

dstroy0 commented 2 years ago

fixed