Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 14.6


Cooking With Xojo, Part 2

Literally using Xojo to cook a perfect steak

Issue: 14.6 (November/December 2016)
Author: Mark Strickland
Author Bio: Mark Strickland has been a fan of many dialects of BASIC since it was on the Radio Shack TRS-80 and Digital Equipment PDP-11 mini computers. More recently, he has worked in a University Medical School setting using his MacGyver-like Information Technology and Ethical Hacker skills to solve problems, almost always with Xojo. In his small software company (SimplyBASICsoftware.com), he has been using Xojo to build things like a Web-based home health care package that keeps caregivers on task with text messaging. Usually his MacGyver skills don't make things blow up, but occasionally users might disagree.
Article Description: on>No description availab
Article Length (in bytes): 17,049
Starting Page Number: er
Article Number: 14606
Resource File(s):

Download Icon project14606.zip Updated: 2016-11-01 11:13:58

Related Web Link(s):


Excerpt of article text...

If you remember, in the previous article, the idea of cooking a steak with Xojo was defined, but I was waiting on an Orange Pi (see Figure 1) to be delivered from Shenzhen. Well, after one typhoon and a second order, I ended up with two Orange Pi Lite boards after about a month. I thought I was off and running... or up and cooking... but there were more unforeseen problems.

First Things First

First you must install the OS and the WiringPi library on the Orange Pi. The recommended OS is Armbian and not Raspbian. I won't cover the details in this article, but you can find the instructions for WiringPi online (http://wiringpi.com).

This is necessary for the Orange Pi to talk to the 40 pin GPIO header. This also contains the GPIO command line tool that I used extensively before writing any Xojo code to talk to any devices connected to the 40 pin header. Some versions of Rasperian for genuine Raspberry Pi boards have this pre-installed, but reading the details is worth the effort.

You will also need a breadboard to make your life simpler. It would be possible without one, but it would be extraordinarily messy and error-prone. I used one from CanaKit (http://www.canakit.com/raspberry-pi-cobbler-gpio-breakout.html) that cost about $10 (see Figure 2).

The good news is the $12 Orange Pis are Xojo compatible. I was able to deploy a little Web App for testing without any trouble. The built-in WiFi came up easily and connected to my home network the first time.

...End of Excerpt. Please purchase the magazine to read the full article.