Libraries not compatible with the New Arduino UNO Q
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sparkfun/SparkFun_BMV080_Arduino_Library
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
sparkfun/SparkFun_BMV080_Arduino_Library#16 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
sparkfun/SparkFun_BMV080_Arduino_Library#15 · 1 commento ·
-
Artemis Support Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di sparkfun/SparkFun_BMV080_Arduino_Library
Issue simili
-
prio:medium status:idea type:feat
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
kind/bug needs-sig needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
drogonframework/drogon#2605 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
ArthurSonzogni/FTXUI#1363 ·