I posted this on the lazarus list but they suggested to send it to the
FPC list instead in order to possibly get better answers...
On Sun, 20 Mar 2011 10:04:28 -0500, Bo Berglund
wrote:
>I need to create a program using Lazarus/FPC to access a data
>collection device built using a PIC24F series
Jorge Aldo G. de F. Junior wrote:
const has the same effect as fpc const before a parameter,
This is not true.
double* SX0
is the same as
double *SX0
or
double * SX0
so this becomes
const SX0 : pdouble (ugly pointer as array Cishism)
No! 'const double * X' in C makes the pointed-to data c
Paul and other responders, thanks. Think I'ma bit clearer how to do it now.
q1) My com device is an energy monitor that sends a block of xml data, 1000
bytes or so, every 6 secs. Guess this means I might be better 'using getbuf
or whatever it's called in synaser, rather than single char at a
Hello,
my app uses the built-in Inc function to add Int64 variables.
Unfortunately, they are treated as UInt32, so the values are
truncated as 32 bit values.
Wow! That is an impressive bug. I assume it is known? What's the
recommendation, which FPC version should I use? Could it be an
incompatib
On 20 March 2011 16:35, Bo Berglund wrote:
>>I need to create a program using Lazarus/FPC to access a data
>>collection device built using a PIC24F series microprocessor with
>>built-in USB support. The firmware makes the PIC processor register as
>>a Human Interface Device (HID) class USB device.
Al 20/03/11 19:47, En/na johnelee1...@googlemail.com ha escrit:
> Paul and other responders, thanks. Think I'm a bit clearer how to do it now.
>
> q1) My com device is an energy monitor that sends a block of xml data, 1000
> bytes or so, every 6 secs. Guess this means I might be better 'using get
On 20 Mar 2011, at 20:41, Tobias Giesen wrote:
> my app uses the built-in Inc function to add Int64 variables.
> Unfortunately, they are treated as UInt32, so the values are
> truncated as 32 bit values.
>
> Wow! That is an impressive bug. I assume it is known?
It has been fixed in svn trunk (
On Sun, 20 Mar 2011 19:47:28 +, Henry Vermaak
wrote:
>On 20 March 2011 16:35, Bo Berglund wrote:
>>I need to create a program using Lazarus/FPC to access a data
>>collection device built using a PIC24F series microprocessor with
>>built-in USB support. The firmware makes the PIC processor re