Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

How To Control The Parallel Port Data Pins Linux
1 year ago
14
In this video I go over how to use the parallel port to control LEDs and relays using a C application on Linux.
Source Code Link:
https://github.com/williamhlane/ParC.git
Source Code:
#include <stdio.h>
#include <unistd.h>
#include <sys/io.h>
#define PortAddress (0x0378)
int main()
{
int number;
printf("Enter the value for the pins you'd like to activate.");
scanf("%d", &number);
if (ioperm(PortAddress, 1, 1))
{
printf("ioperm(%x) failed. Are you root?", PortAddress);
return 1;
}
outb(number, PortAddress);
return 0;
}
Loading comments...
-
25:24
marcushouse
2 hours ago $0.42 earnedStarship Test Trouble… and Block 3 Finally Unveiled! 🤯
3.84K2 -
1:13:26
Squaring The Circle, A Randall Carlson Podcast
8 hours agoSaving The Bees and Healing The Planet!
2.82K1 -
16:18
Chris Harden
2 days agoCharlie Kirk Utah Reaction | What Locals Are Saying
4K4 -
50:47
ChurchandState1776
18 hours agoFree speech is not negotiable with Sam Anthony
2.23K2 -
LIVE
Total Horse Channel
19 hours agoAMHA 2025 9/20
939 watching -
16:59
Chris From The 740
19 hours ago $2.43 earnedIs Bigger Better? - The Gideon Optics Mediator 2 Is Here!
16K1 -
7:58
Blackstone Griddles
15 hours agoTennessee Mountain Burgers on the Blackstone Griddle
17.8K3 -
43:32
NAG Daily
16 hours agoThe Rezendes Rundown Ep. 17 - Epstein's Birthday Book
14.1K6 -
9:28
Freedom Frontline
20 hours agoEric Schmitt Drops DAMNING Biden Video And The Media PANICS
14.5K17 -
24:49
DeVory Darkins
1 day ago $33.49 earnedTrump drops shocking news on Omar as DC Mayor gets humiliated during painful hearing
157K194