B.A.S.I.C Language


1. Basic with 100% C++ compatibility.
2. Use arduino style libraries.3. Use basic stamp style libraries.
subroutine shared setup ( noparams )
begin_block
  // set pin to output mode
  pinMode      ( led1
               , mode::output )       ;
  // set the pin LOW
  digitalWrite ( led1 , false )       ;
end_block                             ;
subroutine shared setup ( noparams )
begin_block
  // put your setup code here, to run once:

  // set pin directions:
  // 7,6,5,4 to output  3,2,1,0 to input
  let dirs = 0b11110000                   ;

end_block                                 ;

Features:

  • Easy to understand. 
  • Combine with C++.
  • Paste into C++ compiler.

See Getting Started GuideExample ProjectsBASIC keywords, Mixing C++/BASIC, pins and dirs library, Global words library, Arduino library.