ArduinoCore-API icon indicating copy to clipboard operation
ArduinoCore-API copied to clipboard

Hardware independent layer of the Arduino cores defining the official API

Results 136 ArduinoCore-API issues
Sort by recently updated
recently updated
newest added

When you create a String object with an embedded NUL character, and you copy this String, the memory after the NUL byte is not copied, leading to uninitialised memory being...

The function round() in "math.h" is okay, it returns a floating point number as expected. The macro round() in "Arduino.h" is a bug. It can not handle large floating point...

When an AVR MCU sleeps in power-down mode, it's clock stops running. Typically time is being kept using the watchdog timer, or an asynchronous timer2, to allow waking up after...

Currently, the Stream class only has a (virtual) `read()` method to read one character at a time. It does have a `readBytes()` method to read multiple bytes at a time,...

enhancement

It will be very useful when we want to pass hexadecimal values through the serial monitor. Could be easily implemented using sscanf with "%2" in the background over temporary buffer...

I've seen ``` typedef enum { LOW = 0, HIGH = 1, CHANGE = 2, FALLING = 3, RISING = 4, } PinStatus; typedef enum { INPUT = 0x0, OUTPUT...

Why MultiTarget and findMulti in Stream.h are not public members of Stream? Their implementation is by no means trivial and they seem relatively safe, so why hide this functionality from...

This is related to issue 288. The Arduino.app C++ compiler accepts float arguments (no warning) to the map() function and then truncates them to integer values. This provides erroneous output...

Hello ! Apologies if this is a duplicate, but I couldn't find any previous discussions on github about it. Is there a reason why map() isn't templated to provide maximum...

floor() and ceil() return integer values, not double (float), other than ANSI C math.h http://www.cplusplus.com/reference/cmath/ceil/ http://www.cplusplus.com/reference/cmath/floor/ (of course this issue is crucial especially for floats which are (absolutely) larger than...