Code Monkey home page Code Monkey logo

arduino-asyncsonar's Introduction

!Hola! Soy Luis Llamas 👋

Profile views Linkedin Badge Website Badge Twitter Badge YouTube Badge Twitch Badge Discord


Acerca de mí

  • 👨 De nacimiento y residencia en España
  • 👨‍💻 Soy Ingeniero industrial, y trabajo como desarrollador e IT Proyect manager, IoT e Industria 4.0
  • 🎓 También soy divulgador y creador de contenido sobre desarrollo, microcontroladores y electrónica
  • ⭐ Mis lenguajes de programación favoritos son C#, C++, JS
  • ❤️ Mi web www.luisllamas.es tiene tutoriales sobre Arduino, electrónica, programación, impresión 3D, diseño de PCBs.


Mis estadísticas de GitHub


Mis tecnologías

C# C++ JS TypeScript HTML5 CSS3 Vue.js

MicrosoftSQLServer SQLite MongoDB Redis Firebase

Azure AWS Google_Cloud

Arduino Raspberry Pi

arduino-asyncsonar's People

Contributors

luisllamasbinaburo avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arduino-asyncsonar's Issues

Problemas con ESP32, varios sónares y display Nextion

Estimado Luis.

Estoy intentando utilizar tu código sobre una placa con ESP32-WROOM y no consigo compilarlo. Creo que da fallo con la
librería YetAnotherArduinoPcIntLibrary que no es compatible con la arquitectura del ESP32.

Estoy intentando combinar varios sónares y una pantalla Nextion, usando un ESP32, y no consigo que funcione el sónar de las formas habituales. He probado ya sin éxito varias formas.

¿Tienes alguna experiencia o solución al respecto? Muchas gracias de antemano.

El código de error al compilar desde ArduinoIDE 1.8.13 es:

ATENCIÓN: la librería YetAnotherArduinoPcIntLibrary-master pretende ejecutarse sobre arquitectura(s) avr y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) esp32.
In file included from C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:29:0:
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\PinChangeInterruptBoards.h:64:2: error: #error PinChangeInterrupt library does not support this MCU.
 #error PinChangeInterrupt library does not support this MCU.
  ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp: In static member function 'static void PcInt::attachInterrupt(uint8_t, PcInt::callback, void*, uint8_t, bool)':
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:117:51: error: 'digitalPinToPCICR' was not declared in this scope
   volatile uint8_t * pcicr = digitalPinToPCICR(pin);
                                                   ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:118:51: error: 'digitalPinToPCMSK' was not declared in this scope
   volatile uint8_t * pcmsk = digitalPinToPCMSK(pin);
                                                   ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:119:47: error: 'digitalPinToPCICRbit' was not declared in this scope
   uint8_t portGroup = digitalPinToPCICRbit(pin);
                                               ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:120:45: error: 'digitalPinToPCMSKbit' was not declared in this scope
   uint8_t portBit = digitalPinToPCMSKbit(pin);
                                             ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:31:52: error: 'SREG' was not declared in this scope
 #define WITHOUT_INTERRUPTION(CODE) {uint8_t sreg = SREG; noInterrupts(); {CODE} SREG = sreg;}
                                                    ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:125:5: note: in expansion of macro 'WITHOUT_INTERRUPTION'
     WITHOUT_INTERRUPTION({
     ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp: In static member function 'static void PcInt::detachInterrupt(uint8_t)':
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:146:51: error: 'digitalPinToPCICR' was not declared in this scope
   volatile uint8_t * pcicr = digitalPinToPCICR(pin);
                                                   ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:147:51: error: 'digitalPinToPCMSK' was not declared in this scope
   volatile uint8_t * pcmsk = digitalPinToPCMSK(pin);
                                                   ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:148:47: error: 'digitalPinToPCICRbit' was not declared in this scope
   uint8_t portGroup = digitalPinToPCICRbit(pin);
                                               ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:149:45: error: 'digitalPinToPCMSKbit' was not declared in this scope
   uint8_t portBit = digitalPinToPCMSKbit(pin);
                                             ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:31:52: error: 'SREG' was not declared in this scope
 #define WITHOUT_INTERRUPTION(CODE) {uint8_t sreg = SREG; noInterrupts(); {CODE} SREG = sreg;}
                                                    ^
C:\Users\antonio\Documents\Arduino\libraries\YetAnotherArduinoPcIntLibrary-master\src\YetAnotherPcInt.cpp:154:5: note: in expansion of macro 'WITHOUT_INTERRUPTION'
     WITHOUT_INTERRUPTION({
     ^
exit status 1
Error compilando para la tarjeta WEMOS LOLIN32.

English instructions?

Hi Luis,

this looks like a well done and powerful library and I am considering using it in my I2Cwrapper project.

However, the lack of English instructions makes me hesitant. While DeepL and google translations help a lot, I'd feel more comfortable with a human made, or at least human supervised, translation, so that I am sure there are no misconceptions.

So any chance for that?

Jan

Edit: I just saw the PR by @max-hans from June, so the work has already been done.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.