Étape 8: Programme en basic minuscule.
http://EC2-122-248-210-243.AP-Southeast-1.Compute.amazonaws.com/mediawiki/index.php/Arduino_Basic#The_project_sketch_.2F_source_file
Vous pouvez ither installer une rs232 convertisseur et seriak terminal ou vous pouvez utiliser le moniteur de série de l’ordinateur hôte avec l’IDE Arduino.
Au moment d’écrire ces lignes, j’ai trouvé un petit bug dans le code. (Il peut y en avoir d’autres)
------------------------------------------------------------/
// TinyBASIC.cpp : An implementation of TinyBASIC in C // // Author : Mike Field - hamster // // Based on TinyBasic for 68000, by Gordon Brandly // (see http://members.shaw.ca/gbrandly/68ktinyb.html) // // which itself was Derived from Palo Alto Tiny BASIC as // published in the May 1976 issue of Dr. Dobb's Journal. // // 0.03 21/01/2011 : Added INPUT routine // : Reorganised memory layout // : Expanded all error messages // : Break key added // : Removed the calls to printf (left by debugging) #ifndef ARDUINO #include "stdafx.h" #include <conio.h> #endif f //<<<<<<<<<<<<<< remove the letter "f" // ASCII Characters #define CR '\r' #define NL '\n' #define TAB '\t' #define BELL '\b' #define DEL '\177' #define SPACE ' ' #define CTRLC 0x03 #define CTRLH 0x08 #define CTRLS 0x13 #define CTRLX 0x18 typedef short unsigned LINENUM;