# techBASIC 1.1 Extends iPhone/iPad Programming with Interactive Plots using the Accelerometer, Magnetometer and Gyroscope

## techBASIC (TM) 1.1 from the Byte Works, Inc. extends its programming capabilities with interactive plots which update the screen continuously. techBASIC lets students, hobbyists, scientists and engineers write programs for iOS devices. techBASIC can collect information from the accelerometer, gyroscope and magnetometer, as well as report on the position and heading of an iPhone, iPod or iPad. A powerful but easy to use implementation of BASIC processes this information, creating graphs that can be rotated, panned and zoomed with swipe and pinch gestures.

“It’s like having a mini-MATLAB(R) in my pocket!” says Susan Foy, Ph.D.

techBASIC(TM) 1.1 extends its programming capabilities with interactive plots. Like an electrocardiogram, techBASIC's accelerometer program updates the graph continuously, sweeping from left to right with the most recent data as the iPhone is turned and moved.

techBASIC lets students, hobbyists, scientists and engineers write programs for iOS devices. techBASIC can collect information from the accelerometer, gyroscope and magnetometer, as well as report on the position and heading of an iPhone, iPod or iPad. A powerful but easy to use implementation of BASIC processes this information, creating graphs that can be rotated, panned and zoomed with swipe and pinch gestures.

And now, these graphs are interactive. A great example is the Accelerometer program, It’s well under 100 lines of BASIC, with lots of comments, but still generates an interactive graph showing the acceleration along the X, Y and Z axis. This sample program updates the graph continuously as the iPhone is turned and moved.

At the core of techBASIC is a BASIC compiler with natural matrix commands like those used for scientific computing.

techBASIC gives several styles of interactive graphs, and supports 2D and 3D Cartesian coordinates, polar coordinates, cylindrical coordinates and spherical coordinates. Even after program execution ends, plots can be zoomed and rotated. As the plot is explored, the points needed to display it are recalculated, so there is no pixilation as a zoom is performed to see the details. The built-in debugger and help system assist in writing programs quickly and accurately, and the complete reference manual is available in PDF format, so it can be loaded into iBooks(R) and carried to the field.

techBASIC is available on the app store. While the built-in help system may be adequate for most people, there is also a full color 200-page reference manual and a brief Quick Start guide available for download at the Byte Works’ web site. These are available without buying the program, so it’s possible to check out the capabilities before buying. Promotional codes are available for qualified reviewers.

The Byte Works has been creating quality “apps for people who think(TM)” since 1982 when the company was founded by Mike Westerfield. Current directions include apps for scientific programming, calculators and astronomy programs for iOS. Past efforts include developing the Apple Programmers Workshop and the award winning ORCA line of compilers for the Apple IIGS, the HyperLogo(TM) scripting language for HyperStudio(TM), and MediaBlender(TM), a multimedia authoring tool for education.

# # #

Share article on social media or email:

View article via:

Pdf Print

### Contact Author

Patty Westerfield