Ì have a problem using TFpTimer on Linux (FPC 3.0.4, Lazarus 2.0.8 on
Raspbian).
The application is a small GUI test app where I have added a timer in
order to update the display with incoming data.
So I have it set up like this:
{$mode Delphi}
interface
uses
...
fptimer,
...
type
TfrmMa
On Mon, 7 Sep 2020, Bo Berglund via fpc-pascal wrote:
Ì have a problem using TFpTimer on Linux (FPC 3.0.4, Lazarus 2.0.8 on
Raspbian).
The application is a small GUI test app where I have added a timer in
order to update the display with incoming data.
So I have it set up like this:
{$mode De
On Mon, 7 Sep 2020 12:40:07 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>> Why does the FpTimer event not fire?
>
>Do you call checksynchronize at regular intervals ? The default timer is
>threaded, and the OnTimer event is called in the main thread. For this to
>work, you need to cal
On Mon, 7 Sep 2020, Bo Berglund via fpc-pascal wrote:
On Mon, 7 Sep 2020 12:40:07 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
Why does the FpTimer event not fire?
Do you call checksynchronize at regular intervals ? The default timer is
threaded, and the OnTimer event is called
Bo,
Most of the users on this forum have never interfaced with hardware , as you
can see from the responses. Those who have interfaced with hardware have
developed circular buffers which they know work , and they reuse them again
and again.
I will describe in general terms the structure a circul
I have a script I use all the time to install FPC/Lazarus on Raspberry
Pi units when I configure for development.
Today when I was setting up a Raspberry PiZero I was hit with this
message when I was going to build fpc 3.0.4 (sources checked out from
svn):
Makefile:2790: *** The only supported
When I try to compile either of the examples below, I get Error: Identifier not
found "ESocketError"
Any ideas?
James
Yes, catch the ESocketError in a try..except:
Try
S:=TFPHTTPCLIENT.SIMPLEGET('http://10.10.01.01/3/15');
except
On E: ESocketError do
Writeln('Could not c
On Tue, 08 Sep 2020 00:59:51 +0200, Bo Berglund via fpc-pascal
wrote:
>Today when I was setting up a Raspberry PiZero I was hit with this
>message when I was going to build fpc 3.0.4 (sources checked out from
>svn):
>
>Makefile:2790: *** The only supported starting compiler version is
>3.0.2. You
Add the ssockets unit to your uses clause.
Michael
On Mon, 7 Sep 2020, James Richters via fpc-pascal wrote:
When I try to compile either of the examples below, I get Error: Identifier not found "ESocketError"
Any ideas?
James
Yes, catch the ESocketError in a try..except:
Try
S:=TFPHTT