An Arduino API that sits on top of Linux and other operating systems. This lets you run Arduino code on Raspberry PI, desktops, etc... All as a standard user-space application.
GNU Lesser General Public License v2.1
22
stars
11
forks
source link
Fix for case when `random` is called with same arguments #5
Modulo of 0 results in undefined behavior. This logic is how it's done in the Arduino core.