Your First Raspberry Pi Xojo Project

来源:互联网 时间:1970-01-01

WithXojo 2015 Release 3, you can create Console and Desktop apps for Raspberry Pi 2 .

Creating a Xojo app for Raspberry Pi is incredibly easy. Just createthe Console or Desktop app as you normally would, then click on Linux in "Build Settings" and changethe Architecture property in the Inspector to "ARM 32-bit". Now click Build to get an app that you can transfer to a Raspberry Pi 2 to run.

If you are new to Raspberry Pi, check out our Raspberry Pi page in the Dev Center:

Getting Started with Raspberry Pi

One of the cool things you can do with a Raspberry Pi is connect things to its General Purpose Input/Outputport (GPIO).

To help with using the GPIO port, Xojo ships with a GPIO module that, in conjunction with the wiringPi library, makes it easy to access the GPIO port.

For people new to electronics, creating a circuit to light up an LED is the equivalent of a "hello world" app.The Blinking LED Tutorial in the Dev Center shows you step-by-step how to create a circuit and a Xojo app to make an LED blink:

Blinking LED Tutorial

There is also a companion tutorial that shows you how turn on the LED when a button is pushed:

Button LED Tutorial

You can download the free Xojo IDE and start today! Raspberry Pi licenses start at only $49.Have fun using Xojo and your Raspberry Pi!