External Links

Creative Science Centre

 

ByPic

ByPic is (not yet) open source but is free software; firmware on hex files are now available that does not need the ByPic boot loader to install. Quick start Guide.pdf

NEWS: scheduling added October 2015

MiniMax BV507 BV508 Others

Still programming the old fashioned way: Write, Compile, Download, See the results?

---- Not any more read on ----

ByPic is optimized for speed and can run at up to 1,250,000 Lines per second for a simple for next loop, this compares to about 25,000 LPS for similar languages running on a 40Mhz processor.

Quick Links:

Quick Introduction

The language is  based on C and BASIC and has been purposely designed for embedded projects, projects that will control hardware. The language is simple and interactive like BASIC but compiled like C. It is extensible in that the user can create their own functions so there is no limitation imposed by the language.

Examples

(ADC) The following code will get the value on ADC channel 2

adc_init(2)
x=adc_get(2)

(INTERRUPTS) The following will print 'Hello World' when there is a change on pin 4 of PORTB

function hello()
   print "Hello World"
endf

ir_setPin(?IrPORTB, "hello", 4) // set interrupt on RB4

(I/O) Flashes an LED connected to PORTA pin 0, 10 times

function flash10()
dim j
   io_pinMode(PORTA,0,OUT,WOFF) // set RA0 to output
   for j = 1 to 10
       io_write(PORTA,0,TOGGLE) // toggle pin
       wait(1000) // wait for 1 second
    next
endf