Comments (2)
Hi, Timo:
Thanks for your note. You’ve found a good little bug here. I’m not clear whether it’s a bug in cmd_ls() or whether the function definition is broken, but something is definitely wrong. Unfortulately, I’m away from my workbench this week so I can’t debug it first-hand. Can you please send the results of a “peep” at the eeprom after you create that situation?
-br
On Jun 15, 2015, at 1:04 PM, Timo A. Hummel [email protected] wrote:
When one accidentally declares an empty function, additional functions don't show up in the list.
function foo {}
saved
function bar { print "foo"; }
saved
ls
function foo {};
function print "foo"; {};
—
Reply to this email directly or view it on GitHub #46.
from bitlash.
Here's the dump:
E000: .... .... .... .... .... .... .... .... .... .... ..fo o$$b ar$ prin t "f oo";
E040: $.. .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....
It doesn't seem to be the cmd_ls() function, because I'm not able to call the function "bar" in that example:
> function foo {}
saved
> function bar { print "foo"; }
saved
> bar()
-----^
unexpected number
> ls
function foo {};
function print "foo"; {};
> rm foo
> ls
function bar { print "foo"; };
> bar
foo
As soon as I remove the empty function foo
, the call to bar works again.
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
- Port to spark-core or esp-8266 HOT 7
- 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.