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
2 years ago
15
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...
-
1:13:42
Sarah Westall
4 hours agoHow Bitcoin was Hijacked, Palantir is a Deep State Upgrade & more w/ Aaron Day
19.1K4 -
15:59
ArynneWexler
6 hours agoAll The Reasons You're Right to Fear Zohran Mamdani | NN6
2.32K1 -
LIVE
Side Scrollers Podcast
11 hours ago🔴FIRST EVER RUMBLE SUB-A-THON🔴DAY 4🔴BLABS VS STREET FIGHTER!
899 watching -
LIVE
DLDAfterDark
3 hours agoGlock's Decision - How Could It Impact The Industry?
208 watching -
25:57
The Kevin Trudeau Show Limitless
1 day agoThe Sound Of Control: This Is How They Program You
32.8K8 -
8:29
Colion Noir
13 hours agoThree Masked Idiots Show Up at Her Door — Here’s What Happened Next
46K24 -
15:38
Cash Jordan
8 hours agoPortland Zombies EMPTY 52 Stores… Mayor FREAKS as “Sanctuary” SELF DESTRUCTS
52.2K65 -
1:23:21
Precision Rifle Network
1 day agoS5E4 Guns & Grub - Dustin Coleman of ColeTac
13.3K3 -
1:09:25
Donald Trump Jr.
8 hours agoCorrupt UN Carbon Tax Exposed, Interview with John Konrad | TRIGGERED Ep.285
159K77 -
42:58
TheCrucible
6 hours agoThe Extravaganza! EP: 59 with Guest Co-Host: Rob Noerr (10/23/25)
95.5K7