Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianharrigan/hxarduino
hxArduino - custom haxe generator to create arduino specific c++
https://github.com/ianharrigan/hxarduino
arduino haxe
Last synced: about 1 month ago
JSON representation
hxArduino - custom haxe generator to create arduino specific c++
- Host: GitHub
- URL: https://github.com/ianharrigan/hxarduino
- Owner: ianharrigan
- Created: 2018-10-12T06:27:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T19:43:48.000Z (about 4 years ago)
- Last Synced: 2024-05-01T12:26:16.081Z (8 months ago)
- Topics: arduino, haxe
- Language: Haxe
- Homepage: https://ianharrigan.github.io/hxArduino/#/
- Size: 1.46 MB
- Stars: 40
- Watchers: 6
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hxArduino
* Includes basic Arduino externs (`Arduino`, `LiquidCrystal`, `MemoryFree`, see: `/lib`)
* Custom C++ generator
* Compiler utility class to compile & link generated c++
* Installer utility class to push to Arduino device
* Monintor utility class to start reading from serial com port via hxSerial for program traces# Usage
* `haxelib install hxArduino`
* `haxe -lib hxArduino -cp src -no-output -main Main`
* `haxelib run hxArduino -test`# Notes
* Must have an `ARDUINO_HOME` environment variable set (eg: `C:\\PROGRA~2\\Arduino`)
* Currently skips alot of haxe "internal" classes (no point in trying to generated them till generator is at least all wired up)
* main.cpp (not generated) makes assumption that there is a `Main.h` and a `Main` c++ class in entry point, eg:See examples for various examples