mc-Things

mc-Products => mc-Demo205 => Topic started by: Bartw on February 14, 2017, 06:35:27 pm

Title: list.max works but list.min doesn't work???
Post by: Bartw on February 14, 2017, 06:35:27 pm
Hello.
As per attachment
.Max works fine.
.Min doesn't work
Any ideas ?
Title: Re: list.max works and list.min doesn't work???
Post by: Bartw on February 14, 2017, 07:57:10 pm
Updating to the lastest firmware STILL broken.

BTW took 10 goes before the firmware loaded OTA... >:( Can the 205 be updated over usb???

Regards
Bart

Title: Re: list.max works and list.min doesn't work???
Post by: mc-Abe on February 15, 2017, 10:53:27 am
You are correct. I have identified the problem with the List.Min() function when list is a ListOfInteger or ListOfByte. Could you use ListOfShort for now if your data can fit in a short? This will be fixed in the next release of the firmware.
Title: Re: list.max works and list.min doesn't work???
Post by: mc-T2 on February 15, 2017, 11:06:13 am
Just to add on this - No, you cannot update the mcDemo205 firmware over USB. It needs to happen using mcOTA
Title: Re: list.max works and list.min doesn't work???
Post by: Bartw on February 15, 2017, 02:05:40 pm

Thank you for clarifying these details. I have a for loop search work around for now.

Regards
Bart