Page 1 of 1

Ovrflw from IPNumericUpDown

Posted: Thu Sep 02, 2021 12:50 pm
by nils
Hi
I'm trying to send 8 numbers from 8 IPNumericUpDown windows, it's ok with single digits but with 2 digits I get " Ovrflw "
this is ok:

!SetValues1 1 2 3 4 5 6 7 1
Updating values.. UD1 = 1.00
UD2 = 2.00
UD3 = 3.00
UD4 = 4.00
UD5 = 5.00
UD6 = 6.00
UD7 = 7.00
UD8 = 1.00

but with UD = 10 I get:
!SetValues1 10 2 3 4 5 6 7 1 Ovrflw

Do I have some settings wrong? ( all UD1..8 variables are long in Arduino)

Very happy if it is possible to solve this !
Nils

Re: Ovrflw from IPNumericUpDown

Posted: Thu Sep 02, 2021 6:25 pm
by nils
my mistake , it was a simple solution , changing the values in commandhandler to bigger values:

CommandHandler<10,70,30> SerialCommandHandler;

Nils