[Lazarus] PWM on raspberry pi
Bo Berglund
bo.berglund at gmail.com
Wed Mar 9 20:05:41 CET 2016
On Wed, 9 Mar 2016 09:57:16 +0100, Koenraad Lelong
<lazarus2 at de-brouwerij.be> wrote:
>> REG_GPIO = {$IFDEF RPi2} $3F000 {$ELSE} $20000
>> {$ENDIF};//bcm2835/bcm2836 gpio register 0x2000 0000. new fpMap uses
>Well, that's what I did, although without the conditionals.
>Did you try PWM, e.g. with the demo-program ? Does it work ?
No, I just needed to use In-Out to control relays and check digital
levels.
--
Bo Berglund
Developer in Sweden
More information about the Lazarus
mailing list