Home.Raspberry Pi.Lazarus.Linux.Projects.Alternatives.Downloads.

DISCLAIMER & TERMS & CONDITIONS OF USAGE

THE INFORMATION ON THIS WEB SITE MAY BE FALSE, INACCURATE OR INCORRECT. PLEASE USE THE INFORMATION WITH

CAUTION - NO LIABILITY CAN BE ACCEPTED IN CASE OF LOSS OR DAMAGES INCURRED FOR ANY INJURY TO PERSONS OR FINANCIAL LOSS THROUGH THE USE OF THIS INTERNET SITE AS A SOURCE OF CREDIBLE INFORMATION. PLEASE VERIFY ALL PRESENTED FACTS ARE CORRECT INDEPENDENTLY.

Projects
Project I/O

IMPORTANT DISCLAIMER - READ THIS FIRST

 

For a credit card sized computer the raspberry pi has awesome input / output capabilities. Combined with its low power consumption, low cost and Linux operating system this makes it ideal for data logging applications. The only thing which lets it down is the lack of an onboard battery backed up clock, however these can be purchased as an add on.

 

I have created a Lazarus unit called pi_ioII which contains simple functions for controlling the Raspberry pi’s I/O.

The pi-ioII library can be made to use Gordon Henderson wiring pi library instead of the native pascal calls by defining conditional compilation flag USE_WIRING_PI.

 

Note that programmes accessing the I/O ports needs special privileges  so they must be run under the root account. Note only use this code on a raspberry pi computer.

 

In order to debug any programs you write with Lazarus you will need to start a root terminal then run Lazarus as follows

 

cd /usr/share/Lazarus

./startlazarus

 

This will start Lazarus with root privileges.

 

 

GERTBOARD - PROJECTS