Pages: [1] 2   Go Down
Author Topic: Bitlash 1.1 is available for download...  (Read 2418 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
God Member
*****
Karma: 39
Posts: 986
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello:

Bitlash 1.1 is available for download at http://bitlash.net

Bitlash is an interactive command shell and application environment for Arduino.  It implements a C-like language that can run from macros stored in EEPROM.

This release makes it Really Easy to add your C code as a Bitlash function.  If you follow a few rules for setting up your function, you can wrap it in Bitlash without having to write a line of parsing code. You get all the parsing, macros, printing, and the rest of the runtime library for free.  Read more about the user functions facility at http://bitlash.net/wiki/userfunctions and see the new examples in the Bitlash 1.1 distribution.

There are also new functions inb() and outb() for access to the AVR registers from Bitlash code.  More on the Functions page: http://bitlash.net/wiki/functions

This version is tested with the recently-released Arduino 0018 IDE and works with 0017 as well.

Finally, there's a blog post at http://entropymouse.com with a complete walkthrough of the servo example, showing how add a user function to drive multiple servos with time-driven state machines in Bitlash.

Happy hacking!

-br


Logged

Chile
Offline Offline
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks smiley

PS: I liked the old website a bit more smiley-grin
« Last Edit: February 03, 2010, 06:33:14 pm by eried » Logged

My website: http://ried.cl

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Are you able to plan when bitlash can be compatible with xduino or mapple i.e stm32 board.
This board are much more powerfull and fast than arduino and IDE start to work.

What do you think about using such board for bitlash and do you think a year can seems a reasonable delay to achieve such a goal ?

Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 986
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think using such a board for Bitlash is a great idea and would be very practical.  One issue that would need to be addressed is the question of what to use in place of the AVR EEPROM for macro storage.  Perhaps an SPI eeprom...

Bitlash is written to be very portable, and the source is open so anyone who pleases can take on a project like this.   Bringing up the core on a new chip or platform is usually only a couple days' work, mainly involving thinking through differences like EEPROM, pin mapping, pin configuration models, etc.  In this case, since the proposed platform has more generous resources, there would be less struggle with code size.

If someone is sufficiently motivated to take on such a port I am happy to provide support, both moral and technical.  For an expert in the platform it would be a short slide of compiler bashing.

-br

Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 986
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

eried: thanks for the kind words
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6382
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
One issue that would need to be addressed is the question of what to use in place of the AVR EEPROM for macro storage.
Many of the "more powerful" microcontrollers with no separate eeprom have flash program memory that is more easily writable than the AVR's (ie writable at a much finer granularity than the boot/normal banking of the AVR.)  For example, the Stellaris LM3S8971 has flash memory that is protectible in 2k blocks, erasable in 1K blocks, and writable 32bits at a time.

Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 986
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So the flash could be a reasonably workable substitute for EEPROM, it sounds like.  Not to mention "vast".

Thanks, westfw.

-br
Logged

Sao Paulo - Brazil
Offline Offline
Sr. Member
****
Karma: 0
Posts: 268
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

amazing application!
I think it will be a very good tool to teach Arduino.
I'll try and let you know
thanks.


Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6382
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have  you thought about combining bitlash with Telemate (AVR-generated video)?  Scan a PS2 keyboard during horizontal retrace. actually run the script during vertical retrace.  Practically stand-alone.  (and shades of Sinclair ZX80!)
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 986
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What a cool idea!  Thanks for the pointer to Telemate.  It doesn't look like it would be hard at all to do the output-side integration, does it?

Remembering the Sinclair ZX-80 always makes me smile.  Thanks.

-br
Logged

Boston
Offline Offline
Newbie
*
Karma: 0
Posts: 16
A Godlike N00b
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very nice.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 148
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank You very much, exactly what i need.
Hopefully it will grow and prosper
smiley
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah I prefered the old site too. Get back the old bitlash logo at least!

It is really turning into something useful. I can't see myself using it for anything apart from a play around but I can see where it would come in handy now.

Mowcius
Logged

Toronto, ON
Offline Offline
Full Member
***
Karma: 10
Posts: 233
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Very cool!  Bitlash rocks.

I played around with it and now I'm reading commands from a file on an SD card.

Have a look here:

http://www.roguerobotics.com/wikidocs/code/bitlash_commands_from_ummc_on_arduino

mowcius: you were talking about doing something like this a while ago.  Trying to make a C++ interpreter with bitlash might be a bit tough though smiley
Logged


North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ooohhh  :o

I will have to play with that. Thanks for taking the time to do this!

I'm just about getting the hang of some commands on my rMP3 board but there's so much stuff it can do so it's taking me some time!

Mowcius
Logged

Pages: [1] 2   Go Up
Jump to: