Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
WiringPi
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Can I get the position an...
by
CM630
[
Today
at 07:29:22 am]
Little bit...
by
egsuh
[
Today
at 05:05:41 am]
Is there a "known good" c...
by
wpostma
[
Today
at 03:31:42 am]
Lazarus 4.6 on macOS 10.1...
by
wpostma
[
Today
at 03:30:20 am]
Lazarus and FreePascal on...
by
wpostma
[
Today
at 03:28:40 am]
Forums were down, and are...
by
wpostma
[
Today
at 03:26:20 am]
Feature announcement: Fun...
by
wpostma
[
Today
at 03:25:35 am]
FPC 3.2.4-rc1 available
by
wpostma
[
Today
at 03:22:54 am]
Call the Llama.cpp dynami...
by
myisjwj
[
Today
at 03:19:58 am]
Elite Arcade
by
domasz
[
Today
at 01:42:28 am]
Untitled raycaster game (...
by
flowCRANE
[
Today
at 01:17:56 am]
504 Gateway Timeout
by
JanRoza
[April 20, 2026, 11:53:14 pm]
IDE Coolbar
by
Martin_fr
[April 20, 2026, 07:40:39 pm]
FPC Unleashed (inline var...
by
Fibonacci
[April 19, 2026, 07:56:12 am]
Change original package o...
by
pmralbuquerque
[April 19, 2026, 07:55:14 am]
Can /my/ AI help me with ...
by
domasz
[April 19, 2026, 07:23:35 am]
PasLLM - LLM Inference En...
by
Thaddy
[April 19, 2026, 06:57:20 am]
Amigo programming languag...
by
paxscript
[April 19, 2026, 06:32:55 am]
I hope FreePascal can sup...
by
Fibonacci
[April 19, 2026, 04:45:25 am]
Translate .lfm file in a ...
by
wp
[April 19, 2026, 01:40:24 am]
DataPort or Synpase stat...
by
mas steindorff
[April 19, 2026, 01:39:31 am]
TChart how setup nicestep...
by
wp
[April 19, 2026, 12:02:04 am]
Renamed a TSQLQuery compo...
by
CraigC
[April 18, 2026, 11:14:18 pm]
Error: Compilation raised...
by
cdbc
[April 18, 2026, 07:02:50 pm]
Building units fails afte...
by
NormanDunbar
[April 18, 2026, 06:39:32 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: WiringPi (Read 7618 times)
mbdev
New Member
Posts: 44
WiringPi
«
on:
March 09, 2013, 12:48:54 pm »
Hello,
I want to control LEDs with a Raspberry Pi, but I can't get wiringpi running.
I downloaded the source from
http://www.lazarus.freepascal.org/index.php?topic=17404.0
After compiling wiringPi I made this a little demo application. Lazarus is able to compile the source but when I'm calling wiringpisetup, it only returns -1.
I don't know what I made wrong. I think I'm using a old version of wiringPi, but the new version displays other errors.
Logged
picstart
Full Member
Posts: 236
Re: WiringPi
«
Reply #1 on:
March 09, 2013, 02:50:28 pm »
You need to run your wiringpi executable as root to get permission to access the GPIO pins.
Logged
mbdev
New Member
Posts: 44
Re: WiringPi
«
Reply #2 on:
March 09, 2013, 06:01:15 pm »
Thank you so much
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
WiringPi
TinyPortal
© 2005-2018