Author Topic: list.max works but list.min doesn't work???  (Read 317 times)

Bartw

  • Newbie
  • *
  • Posts: 29
    • View Profile
list.max works but list.min doesn't work???
« on: February 14, 2017, 06:35:27 pm »
Hello.
As per attachment
.Max works fine.
.Min doesn't work
Any ideas ?
« Last Edit: February 15, 2017, 09:43:05 pm by Bartw »

Share on Facebook Share on Twitter


Bartw

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: list.max works and list.min doesn't work???
« Reply #1 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


mc-Abe

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • mc-Things
Re: list.max works and list.min doesn't work???
« Reply #2 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.

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: list.max works and list.min doesn't work???
« Reply #3 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
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB

Bartw

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: list.max works and list.min doesn't work???
« Reply #4 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