Ver más productos marca waveshare
BMM150 3-Axis Magnetometer Sensor, Compatible with Raspberry Pi 5/4B/3B/Zero/Zero W/Zero 2W/Pico/Pico W/Pico WH, Digital Compass Sensor, Magnetic Field Measurement
8 || deltaY > 8)) {
isHorizontalSwipe = deltaX > deltaY;
}
if (isHorizontalSwipe) {
dragOffset = currentX - touchStartX;
}
"
@touchend="
isDragging = false;
const threshold = containerWidth * 0.15;
const deltaX = Math.abs(currentX - touchStartX);
const deltaY = Math.abs($event.changedTouches[0].clientY - touchStartY);
if (deltaX < 8 && deltaY < 8) {
openLightbox(activeImage);
} else if (isHorizontalSwipe && dragOffset < -threshold) {
activeImage = (activeImage + 1) % totalImages;
} else if (isHorizontalSwipe && dragOffset > threshold) {
activeImage = (activeImage - 1 + totalImages) % totalImages;
}
dragOffset = 0;
isHorizontalSwipe = null;
"
>
1 / 9
50) {
if (diff > 0) { nextImage(); } else { prevImage(); }
}
"
>
1 / 9
Ver más productos marca waveshare
BMM150 3-Axis Magnetometer Sensor, Compatible with Raspberry Pi 5/4B/3B/Zero/Zero W/Zero 2W/Pico/Pico W/Pico WH, Digital Compass Sensor, Magnetic Field Measurement
$43.470
+ impuestos: $9.129
Cantidad:
- Compra protegida
- Envío a todo el país
- Garantía de entrega
Opiniones de compradores
5,0
2 opiniones
5
100%
4
0%
3
0%
2
0%
1
0%
Mike K
Este sensor de brújula digital fue incorporado en mi dispositivo robótico DIY para ayudar a navegar y asegurar la posición. Muy contento con los resultados.
Preguntas y respuestas
Tu pregunta fue enviada. Te responderemos pronto.
¿Dónde te enviamos la respuesta?
Tus preguntas
· Recibirás la respuesta a