ArduinoCore-API
ArduinoCore-API copied to clipboard
Hardware independent layer of the Arduino cores defining the official API
EDIT NOTE: I added a comment to the end of this from a later comment because I thought it should have been included in the first place. The equation in...
It's obvious that `a == 0 ? false : true` is same as `a != 0` Also a != 0 looks more clear as a Return Type to a bool...
I suggest making the public methods of the TwoWire class virtual in order to allow polymorphism when subclassing it. **Use case**: Have another library that utilizes the Wire library and...
Add FlashString abstract class to support extension of String and Print methods to core specific program memory implementation. The FlashString abstract class completely eliminates the dependency on the file pgmspace.h....
I know that it is possible to remove the explicitly set wakeup flag manually. Anyway it would be better to not set it at all if not required. Possibly: `void...
I found out that the `Stream::find()` (and all related functions, findUntil() etc), does not work when the sequence to be found contains values above 0x7F. I believe this is because...
This PR updates various math macros to avoid computing callable arguments more than once using the same technique that the `max` macro currently does. It also replaces them with C++...
Similar to Print, Stream, Client, Server... we probably need a File base class. Currently File is defined in the SD library, and also in the Bridge library for Yun. Most...
Hi folks, I know it has been discussed already here and there... I find semantically wrong the fact that the following math functions are implemented as macros: **abs**, **min**, **max**,...
Requested by @mbanzi. There's some discussion on the dev mailing list: https://groups.google.com/a/arduino.cc/d/msg/developers/qaVLZ2qOXkk/jlHAXHrGAwAJ