ワタリ
Watari is my Bangle watch.
| accelerometer | KX023 |
|---|---|
| battery | 350 mAh 502527 Li-ion, 1 week standby |
| dimensions | 5×5× |
| display | |
| flash | 512 kB on-chip, 4 MB external |
| GPS | u-blox UBX-M8130 |
| HR sensor | BD 1668 |
| magnetometer | GMC303 3-axis compass |
| processor | Nordic 64 MHz nRF52832 ARM Cortex-M4 |
| RAM | 64 kB |
center
Formula for centering text given the scale (s), character count (c), and row count (r):
x = 120 - 6cs / 2
y = 132 - 8rs / 2For example, a 3-row, 5-character–wide text block at scale 2 should be positioned at (90, 108) to be centered.
x = 120 - 6 * 5 * 2 / 2 = 90
y = 132 - 8 * 3 * 2 / 2 = 108There’s a calculator in the lab.