Giter Site home page Giter Site logo

arduino-queue.h's People

Contributors

chaeplin avatar ianfixes avatar sdesalas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

arduino-queue.h's Issues

error: 'Queue' does not name a type

I encountered the following error message when trying to use the Queue.h library in the Arduino IDE coding for a ESP-32 developer board: error: 'Queue' does not name a type

The fix was to change

#ifndef QUEUE_H
#define QUEUE_H

to

#ifndef Queue_h
#define Queue_h

in the Queue.h file.

Queue ok Thanks

hi Sdesalas,

I tested your Queue on ATSAM3X8E,
and it worked correctly with (byte).
thank you very much.
Carlos.

Preprocessor Guard Naming Conflicts with Other Libraries "QUEUE_H"

some enviroment details...

PlatformIO
Arduino-ESP framework
board: ESP32-S2-Saola-1

When including this library into my platformIO project, the header's preprocessor guards conflict with the standard C queue library, causing me to get unexpected behavior from intellisence such as `Queue is not a templated class" (when it clearly is).

Changing it to QUEUE_H_2 fixed the issue, although this was just a placeholder name. I'm sure you can find a better name for it. Funny enough, I'd suggest changing it to something less generic simply because this is a third-party library and it seems to conflict with the arduino API and other ports of the arduino framework across some other boards.

Not Compatible with the ESP8266?

Hi all,

I am trying to work with queues with this library.

The test code provided compiles fine if I select the board "Arduino Uno" but when I select the "ESP8266" board it gives the error "'Queue' does not name a type".

Is this library not compatible with the ESP8266?

Thanks,

Zeb

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.