KashaMalaga / XiaomiMiBand

Patches for Xiaomi Mi Band Android App (Smali Project)
134 stars 47 forks source link

Showing time #36

Open mgarciate opened 9 years ago

mgarciate commented 9 years ago

QUESTION: Have you thought any way to show the current time using the LEDs? Counting on just 3 LEDs I can arrive till 7h. I've been thinking a new feature to implement forking your code and getting hours in one led color, minutes with another, as binary representation. Perhaps this is information could be given after touching the band. What do you think? Thx

hariprasadiit commented 9 years ago

we can use colours too along with 3 LEDs.I'm also thinking of some way to encode time in a simple way.

CirKu17 commented 9 years ago

Blinking too. I was thinking of an encoding similar to those of some bell towers: first led white means AM, blue means PM second led blinking 8 times means it's 8 third led blinking once means it's 8:15, twice 8:30. Quite inaccurate and slow but it's an option.

rozboris commented 9 years ago

It might make sense to not show AM/PM since it's obvious. Then you can use two LEDs to show minutes div 10 and minutes mod 10 respectively.

notzippy commented 9 years ago

I think displaying the time in binary is an option, you can have a "hi bit" color to designate the 9 and buzz between digits For example Given R = Red (hi bit color), B = Blue normal color , O = Off

O O B
<bzz>
O B O
<bzz>
O B O
<bzz>
B O B
The time is 12:25

O O O
<bzz>
B B O
<bzz>
O O B
<bzz>
R O O
The time is 5:19

O B O
<bzz>
O B O
<bzz>
O O B
<bzz>
B B B
The time is 22:18
colorprint commented 9 years ago

I think buzz consume more energy )

notzippy commented 9 years ago

You could turn all LEDS to green between each display of a digit as well..