https://github.com/sleibrock/weeno
An Arduino library
https://github.com/sleibrock/weeno
arduino c c-plus-plus c-plus-plus-11 cpp cpp11
Last synced: 12 months ago
JSON representation
An Arduino library
- Host: GitHub
- URL: https://github.com/sleibrock/weeno
- Owner: sleibrock
- Created: 2019-07-24T20:31:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-04T03:56:33.000Z (almost 7 years ago)
- Last Synced: 2024-12-28T09:33:35.710Z (over 1 year ago)
- Topics: arduino, c, c-plus-plus, c-plus-plus-11, cpp, cpp11
- Language: C++
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Weeno - An Arduino Library
====================================
Weeno is an advanced C++ library for writing Arduino code. Much of it is code aimed at creating functional, reusable components in program creation. Comes jam-packed with goodies not included in the Arduino standard library.
* Abstract classes
* Basic pin-connected objects
* Macros / Constants
* Enumerations
* Safe arithmetic / numerics
* Timer logic
## Arduino Code Notes
* Avoid division, it's horrible
* Avoid floating points, also horrible
* Arduino code depends on controlling certain pins automatically. If you overwrite a pin's in/out bits, then you may lose certain Arduino functionality.
* Object allocation is all heap-based so avoid invocations of `new` or `delete`. Objects should be declared at compile-time for more predictable performance.