links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Michael Shook, member since May 27, 2004
.
Search Everyone: ("interpreter") "macro",

Top ("interpreter") "macro" experts: econnews, antikoerperchen, jafi, bluegreen, mimarko, webgeek,

1 - 3 of 3   Watch mshook
 
for AI programming on arduino, how about scheme language? http://cli.gs/Q5nqEP http://cli.gs/3bZ51M http://cli.gs/1XHEbQ and read SICP! by mshook 2009-07-02 09:28 arduino · scheme · avr · interpreter · sicp
http://twitter.com/beagleboard/status/2434532878 - cached - mail it - history

Introducing Bitlash

Bitlash is an open source interpreted language shell for the Arduino serial port. It runs on the Arduino and interprets commands that you type in a terminal window or send programmatically:

bitlash v0.95a here! ... > print "hello, world", analogRead(3) hello, world 552

Bitlash is a development and prototyping tool for those situations where you need to bang some bits on the Arduino but writing a sketch in C is premature. The Bitlash command language is very similar to Arduino C and includes a large repertiore of the familiar Arduino C functions so you can hack your hardware from the serial command line or even over the internet via telnet.

by mshook 2009-06-30 18:44 arduino · c · very · cool · free · open · source · interpreter · avr · concise · small · macro
http://bitlash.net/ - cached - mail it - history
void setup(){
  pinMode(13, OUTPUT);
}
 
void loop(){
  digitalWrite(13, HIGH);
  delay(500);
  digitalWrite(13, LOW);
  delay(500);
}

First, we configure pin 13 for output by setting a bit in Data Direction Register B. Then we turn pin 13 by setting its bit in PORTB. Then we delay 500 milliseconds by marking the current value of timer0, converted into milliseconds, and letting the counter be incremented repeatedly at each clock cycle and overflowed into ever larger holders until the new value of timer0 represents an elapsed time of 500ms. Next we set the bit for pin 13 in PORTB low to turn the LED off. We do the delay dance again and we're home.

by mshook 2009-06-14 16:18 arduino · avr · how · code · c · microcontroller · good · long · macro
http://www.urbanhonking.com/ideasfordozens/2009/05/an_tour_of_the_arduino_interna.html - cached - mail it - history
1 - 3 of 3  
Related Tags
 
- exclude ~ optional + require
Add Dates