BASIC interpreter for CC2540 and CC2541 Bluetooth LE chips