1) active = (active - 1 + total) % total"
@keydown.arrow-right.window="if (zoom && total > 1) active = (active + 1) % total"
@click.self="zoom = false"
x-transition.opacity
class="fixed inset-0 z-50 bg-black/85 flex items-center justify-center p-4 cursor-zoom-out">
Module RTC DS1307
Maxim / Analog Devices
Đồng hồ thời gian thực cũ nhưng phổ biến, giao tiếp I2C, có pin CR2032 lưu thời gian. Sai số ~5 phút/tháng (kém DS3231 nhiều).
22.000₫
ước tính