Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 2.96 KB

README.md

File metadata and controls

49 lines (28 loc) · 2.96 KB

EV3Basic

A basic compiler to target the Lego Mindstorms EV3 intelligent brick.

This programming language and development environment is intended as an easy way to use text based programming for the EV3. It was specifically designed to get things running quickly and should help novice programmers to get their first experience.

Microsoft Small Basic Extension

One convenient way to develop programs for the EV3 is to use Microsoft Small Basic (download is free of charge) together with the EV3 extension. With this you have an easy to use development environment where you can build and run programs that control the EV3 brick from your PC.

Installation

  1. Download and install Microsoft Small Basic from http://smallbasic.com/ (requires Microsoft Windows)
  2. Download EV3BasicInstaller.msi from the current release and install the program into the same folder as Small Basic.

Using Small Basic

  1. Start Small Basic and begin writing your program. Use the intellisense documentation to learn about the various parts of the EV3 extension.
  2. If you are a novice to programming, use the link "Beginning Small Basic" on the Small Basic homepage to learn about fundamental concepts and how to generally create programs.
  3. Run your program directly from the Small Basic environment. When you access functions for the EV3 brick (Everything in EV3, LCD, Motor, Sensor, Buttons, Speaker), the program tries to access and control the EV3 brick via an USB connection.

Tutorials

There is a good website available with loads of additional help and info: http://ev3basic.com

EV3 Explorer (with compiler)

The EV3 Explorer can be used to view and organize the files that are currently stored on the EV3 brick. But most importantly it has a built-in compiler that can convert your Small Basic programs to a form that can be executed directly on the brick.

Installation and Startup

Since version 0.9, the EV3Explorer is automatically installed along with the EV3 extension. It can be started from the windows start menu EV3Basic/EV3Explorer.

Use EV3Explorer

The main window is divided in two parts. The left one shows the file system of the EV3, the right shows your local PC file system (both with navigation buttons on top). To transfer (and optionally compile) files, select one file in the right window and click one of the "Compile" or "Download" buttons. Most programs will compile to the EV3 without much problems as long as you do not use unsupported functions. But there are subtle differences for some language constructs which will cause compilation to fail with an error.

Contact

For questions, comments, bug reports and feature requests please contact: reinhard.grafl (at) aon.at

Donations

EV3Basic is free to use, but if you want to give back something, money is welcome. But instead of sending me anything directly (I have no payment account or anything set up for this), please donate to the Wikimedia Foundation (https://donate.wikimedia.org) in my stead and drop me a note.