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...
-
15:49
Nikko Ortiz
20 hours agoI Have A Gun
26.6K21 -
15:51
GritsGG
17 hours agoWinning a Warzone Match From a Tree! #1 Player's POV!
16.8K2 -
2:31:01
The Connect: With Johnny Mitchell
1 day ago $40.66 earned"It's About To Get Worse"- CIA Agent Andrew Bustamante Explains Why It's Time To Leave America
52.8K80 -
16:21
The Pascal Show
1 day ago $3.84 earned'THE FEDS MADE THIS UP!' Candace Owens Drops BOMBSHELL Pushing Back On Details In Charlie Kirk Case
18.2K27 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
285 watching -
25:39
DeVory Darkins
15 hours ago $22.75 earnedMass shooting erupts in Michigan as bombshell study shows left wing political violence skyrocketed
53.8K135 -
5:55:33
MattMorseTV
14 hours ago $134.92 earned🔴Portland ANTIFA vs. ICE.🔴
184K387 -
3:13:00
Badlands Media
1 day agoThe Narrative Ep. 40: Acceleratia.
86.7K36 -
6:57:01
SpartakusLIVE
13 hours ago#1 Solo Spartan Sunday || TOXIC Comms, TACTICAL Wins, ENDLESS Content
69.5K5 -
49:45
Sarah Westall
12 hours agoComedians take Center Stage as World goes Nuts w/ Jimmy Dore
50.2K28