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...
-
2:55:38
Turning Point USA
10 hours agoWASHINGTON D.C. PRAYER VIGIL FOR CHARLIE KIRK
96K42 -
35:54
The Mel K Show
10 hours agoMel K & Tim James | Healing is an Inside Job | 9-14-25
71.5K4 -
3:06:33
IsaiahLCarter
13 hours ago $14.04 earnedCharlie Kirk, American Martyr (with Mikale Olson) || APOSTATE RADIO 028
79.8K23 -
16:43
Mrgunsngear
17 hours ago $12.38 earnedKimber 2K11 Pro Review 🇺🇸
57.9K14 -
13:40
Michael Button
1 day ago $3.75 earnedThe Strangest Theory of Human Evolution
52.1K26 -
10:19
Blackstone Griddles
1 day agoMahi-Mahi Fish Tacos on the Blackstone Griddle
36.5K3 -
23:51
Jasmin Laine
1 day ago“Stop Wasting My Time!”—Trump's BRUTAL WARNING To Canada As Poilievre ROASTS CBC LIVE
27.6K29 -
9:54
Millionaire Mentor
1 day agoNBC Host EXPOSES JB Pritzker For Saying This About Trump
18.3K14 -
1:35:39
SB Mowing
2 days agoIt took the WHOLE NEIGHBORHOOD to uncover this yards SHOCKING SECRET
100K65 -
12:52
ROSE UNPLUGGED
1 day agoFrom Vision to Legacy: Charlie Kirk
63.8K22