Page 1 of 1

Math operations, conditions, if, then, else, switch, case [Mi Band 6]

Posted: 11 Jan 2022, 13:29
by MatusLoew
Hello.

I would like to have custom face with Programming features.

E.g.: hours in roman numbers, hours with decimal places instead of minutes, rounding of minutes, sum of steps from last 5 days, each 3rd hour with red colour (0, 3, 6, 9, 12, 15, 18, 21), and everything what is possible by using if, else, switch, +, -, *, /, mod.

I cannot find how to use these Programming features in Json.
Can you help, or share the example, please?

Thank you :)

Re: Math operations, conditions, if, then, else, switch, case

Posted: 12 Jan 2022, 09:02
by Jackall Digital
Hello MatusLoew

I'm guessing this would be for the mi band 6? Are you sure something like this is even possible, or where did you get this idea from? As far as I know the only calculation the mi band does is in the analog clocks to calculate the position of the clock hands to be drawn.

Re: Math operations, conditions, if, then, else, switch, case

Posted: 12 Jan 2022, 22:50
by MatusLoew
Hello Jackall Digital,

Thank you for your answer. Yes, mi band 6. I was just expecting that it can calculate since there is mikroprocessor. I hoped that I can use Java script.