Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Libraries not compatible with the New Arduino UNO Q

Abierto
#18 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
arduino, cpp
Área
embedded-iot

Línea de trabajo

Start by reproducing the reported failure on an Arduino UNO Q with the provided sketch, focusing on bmv080.begin() and bmv080.init(). Check the library's existing compatibility assumptions and determine whether the library can support this board; done means the sketch initializes the BMV080 without the UNO Q becoming unresponsive, with the result documented or covered by an appropriate test.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello,

Running on the new arduino uno Q and installing the libraries inside takes arduino uno to stop answering back!

bmv080.init();

Breaks the system

#include "SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
#include <Wire.h>
#include <Arduino_RouterBridge.h>

SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
#define BMV080_ADDR 0x57  // SparkFun BMV080 Breakout defaults to 0x57

// Some Dev boards have their QWIIC connector on Wire or Wire1
// This #ifdef will help this sketch work across more products


#define wirePort Wire1
int myinit = 0;
void setup()
{
    Monitor.begin();

    while (!Monitor)
        delay(10); // Wait for Monitor to become available.
    // Necessary for boards with native USB (like the SAMD51 Thing+).
    // For a final version of a project that does not need Monitor debug (or a USB cable plugged in),
    // Comment out this while loop, or it will prevent the remaining code from running.

    Monitor.println();
    Monitor.println("BMV080 Example 1 - Basic Readings");

    wirePort.begin();

   

    // wirePort.setClock(400000); //Increase I2C data rate to 400kHz

    /* Initialize the Sensor (read driver, open, reset, id etc.)*/
  
}

void loop()
{
  myinit ++;
 if (bmv080.begin(BMV080_ADDR, wirePort) == false)
    {
        Monitor.println(
            "BMV080 not detected at default I2C address. Check your jumpers and the hookup guide. Freezing...");
        while (1)
            ;
    }
  
   Monitor.println("BMV080 found!");
    if(myinit==10){
        Monitor.println(
            "ini...");
    /* Initialize the Sensor (read driver, open, reset, id etc.)*/
       bmv080.init();
    }
    delay(100);
}
Lenguaje dominante
C++
Estrellas
15
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sparkfun/SparkFun_BMV080_Arduino_Library

Todos los issues de sparkfun/SparkFun_BMV080_Arduino_Library

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.