Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Libraries not compatible with the New Arduino UNO Q

Aperta
#18 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
arduino, cpp
Ambito
embedded-iot

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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);
}
Lingua principale
C++
Stelle
15
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sparkfun/SparkFun_BMV080_Arduino_Library

Tutte le issue di sparkfun/SparkFun_BMV080_Arduino_Library

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.