Comments (7)
Hi, Tim, and thanks for your note.
If you already have a wiring port available, most of the work will be sorting out the header file includes to be correct for your platform. As you’ve already found, avr.h is included, but you don’t want that.
Have a look in src/bitlash.h and you will see several chunks of code which configure for different platforms. You’ll need to do something similar. You’ll probably need to add an #ifdef for your platform and include the wiring header files. You’ll also need to #ifdef out the avr stuff.
I hope that helps. Let me know if you hit a snag.
Kind regards,
-br
On Jun 15, 2015, at 1:16 PM, Tim Caswell [email protected] wrote:
I would love to use bitlash on my various wifi-enabled development boards. They all have a port of arduino's wireing which I imagine is most the work porting bitlash, but I'm wondering what else would be required and if anyone has tried this before.
For example, when trying to import the bitlash header into an ESP8266 project using the Arduino IDE, I get errors about bitlash trying to include avr.h.
I'd be willing to do the work to port what's left, but I'm looking for some guidance.
—
Reply to this email directly or view it on GitHub #47.
from bitlash.
Hi Tim, did you get any further? It would be cool if we could make Bitlash ESP8266-compatible. Let me know if you need some help (here or in esp8266 gitter chat).
Thanks.
from bitlash.
bitlash makes a lot of avr and arduino assumptions. I'm currently working on a language kinda like bitlash, but developing for esp chips first. I have one based on esp8266/Arduino and am starting one using esp-open-sdk directly. https://github.com/creationix/uscript
from bitlash.
Maybe ESP8266 and Spark go a bit out of scope of Bitlash but I think official ARM-based Arduino boards (Due and Zero at the moment) should be default-supported.
Thanks anyway.
from bitlash.
OTOH, on ARM/ESP8266 boards, you also have Espruino as an alternative. This
gives you complete Javascript capabilities, much more than what bitlash
intended to do.
On Thu, Aug 20, 2015 at 7:12 PM, Osqui LittleRiver <[email protected]
wrote:
Maybe ESP8266 and Spark go a bit out of scope of Bitlash but I think
official ARM-based Arduino boards (Due and Zero at the moment) should be
default-supported.
Thanks anyway.—
Reply to this email directly or view it on GitHub
#47 (comment).
from bitlash.
@tochinet well yes, and esp8266 in particular has a popular elua port called nodemcu, but it's not the same category as bitlash. I'm looking for a simpler language.
from bitlash.
If you wana experience micropython in esp8266 you can find something in
https://github.com/micropython
http://docs.micropython.org/en/latest/esp8266/index.html
from bitlash.
Related Issues (20)
- Talk to arduino without >command HOT 6
- run bitlash code stored in flash HOT 5
- eeprom overflow error with bitlash run command for a user defined function HOT 3
- Blank user function causes following functions not to appear HOT 2
- Not working on new Arduino.. HOT 9
- Can't save user functions to startup? HOT 27
- Deleted-cant add user functions to memory
- Cant add more then 9 commands inside startup functions
- No support for bypass serial
- Serial flash support? HOT 2
- No need to wait after Wire.requestFrom().
- LED was very dim when using bitlash HOT 1
- bitlash demo - blink does not blink HOT 5
- Problem of output buffer when using bitlash
- ========^ unexpected number error for functions HOT 5
- Run code from eeprom HOT 2
- Make SdCard example code use IDE's inbuilt SD API
- Maintained fork?
- update library for support lastet arduino ide version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitlash.