Category Archives: c-lazarus

Free Pascal / Lazarus

ESP8266 UDP to/from Raspberry Pi running Lazaraus / Free Pascal

(click here to see index of all ESP8266 posts) This is a variation on the theme of the prior post, except in this case, the ESP8266 sends a UDP packet to the RPI which processes it using Lazarus / Free … Continue reading

Posted in c-esp8266, c-lazarus, c-rpi | Leave a comment

Reading Raspberry Pi GPIO Pins using Lazarus / Free Pascal

Way back when, I did a simple example of using Free Pascal to turn an LED on and off: Accessing Raspberry Pi GPIO using Lazarus/Free Pascal To date, that has been the most I’ve needed to do to the real … Continue reading

Posted in c-lazarus, c-rpi | Tagged | 3 Comments

Sunrise / Sunset Algorithm Implemented in Free Pascal / Lazarus

I needed to know sunrise / sunset times and wasn’t happy with any Pascal implementations I found. This code was implemented using the algorithm found at http://williams.best.vwh.net/sunrise_sunset_algorithm.htm http://web.archive.org/web/20160315083337/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm This is a simple unit that can be easily implemented. There are … Continue reading

Posted in c-lazarus, c-pcos | Tagged | Leave a comment

lazwiringpi linker problem: Error Rasperry Uses VFP register arguments

The lazwiringpi wrapper has worked fine for me in the past, found here (you must be logged in to see the download). http://forum.lazarus.freepascal.org/index.php/topic,17404.0.html This wrapper allows you to accessing the Raspberry Pi wiringPi library which is written in C. Granted, … Continue reading

Posted in c-lazarus, c-rpi | Tagged | 8 Comments

apt-get install fpc lazarus fails on Raspberry Pi

apt-get install fpc lazarus fails with “fpc : Depends: fpc-2.6.0 (= 2.6.0-9+rpi1) but it is not going to be installed” on Raspberry Pi Evidently, something has been changed recently in Raspbian makingĀ  it impossible to install FPC or Lazarus. From … Continue reading

Posted in c-lazarus, c-rpi | 3 Comments

Lazarus/Free Pascal Example Using SSL to Access POP Server (Linux/Raspberry Pi)

This covers Lazarus/POP/SSL in Linux/Raspberry Pi. Please go here if you are using Windows. As already mentioned: I need to write a command utility that scans a POP mailbox looking for a particular message so it can act. It will … Continue reading

Posted in c-lazarus, c-rpi | Tagged | 1 Comment

Lazarus/Free Pascal Example Using SSL to Access POP Server (Windows)

This covers Lazarus/POP/SSL in Windows. Please go here if you are using a Raspberry Pi. I need to write a command utility that scans a POP mailbox looking for a particular message so it can act. It will be primarily … Continue reading

Posted in c-lazarus, c-pcos | Tagged | 1 Comment

TCP Communications between a PC and an Arduino Nano Using Lazarus / Free Pascal

OK. I’m getting close to done with all of the combinations and permutations of ways to communicate between PC’s, Raspberry Pi’s, and Arduinos. Today I’m going to look at using TCP on an Arduino Nano because it is a special … Continue reading

Posted in c-arduino, c-lazarus | Tagged , | 2 Comments

TCP Communications between a Raspberry Pi and an Arduino Using Lazarus / Free Pascal

This is the next installment in a series of posts discussing various ways to communicate between a Raspberry Pi and an Arduino. This post is only going to discuss the differences between using UDP vs TCP. If you are interested … Continue reading

Posted in c-lazarus, c-rpi | Tagged , | Leave a comment

TCP Communications between a PC and an Arduino Using Lazarus / Free Pascal

This is the next installment in a series of posts discussing various ways to communicate between a PC and an Arduino. This post is only going to discuss the differences between using UDP vs TCP. If you are interested in … Continue reading

Posted in c-arduino, c-lazarus | Tagged , | 2 Comments