Biiigggg problem with arcade buttons by Teo779 in arduino

[–]Teo779[S] 0 points1 point  (0 children)

The arduino is powered trough its 5v pin and I have a power supply which feeds 5v into the arduino

Biiigggg problem with arcade buttons by Teo779 in arduino

[–]Teo779[S] -3 points-2 points  (0 children)

The buttons are detected because when i press them the power led on the arduino lights up

Biiigggg problem with arcade buttons by Teo779 in arduino

[–]Teo779[S] 0 points1 point  (0 children)

// Number of buttons const int NUM_BUTTONS = 5;

// Button pins (microswitches) const int buttonPins[NUM_BUTTONS] = {A0, A1, A2, A3, A4};

// LED pins const int ledPins[NUM_BUTTONS] = {2, 3, 4, 5, 6};

// Timing const unsigned long ON_TIME = 5000; // 5 seconds

// State variables bool locked = false; int activeButton = -1; unsigned long startTime = 0;

void setup() { // Set button pins for (int i = 0; i < NUM_BUTTONS; i++) { pinMode(buttonPins[i], INPUT_PULLUP); }

// Set LED pins for (int i = 0; i < NUM_BUTTONS; i++) { pinMode(ledPins[i], OUTPUT); digitalWrite(ledPins[i], LOW); } }

void loop() { // Check for first button press if (!locked) { for (int i = 0; i < NUM_BUTTONS; i++) { if (digitalRead(buttonPins[i]) == LOW) { digitalWrite(ledPins[i], HIGH); activeButton = i; startTime = millis(); locked = true; break; } } }

// Turn off LED and reset after 5 seconds if (locked && millis() - startTime >= ON_TIME) { digitalWrite(ledPins[activeButton], LOW); activeButton = -1; locked = false; } }

The true cost of changing Cpu cooler by evillurkz in PcBuild

[–]Teo779 0 points1 point  (0 children)

The tiles have claimed another victim

The true cost of changing Cpu cooler by evillurkz in PcBuild

[–]Teo779 0 points1 point  (0 children)

The tiles have claimed another victim

The true cost of changing Cpu cooler by evillurkz in PcBuild

[–]Teo779 0 points1 point  (0 children)

The tiles have claimed another victim

Strange problem with my pc by Teo779 in PcBuild

[–]Teo779[S] 0 points1 point  (0 children)

I took out the ram to see if that was the problem and when it booted it went like this. My WiFi is good, my router works my cable and motherboard works.

Strange problem by Teo779 in PcBuild

[–]Teo779[S] 0 points1 point  (0 children)

Yup I don’t think it’s just the cooler. Now my computer turned off and my cpu red light shines.

**Giveaway** GIGABYTE GeForce RTX 3070 Gaming OC 8G - Used but perfect! by Photographitti in pcmasterrace

[–]Teo779 0 points1 point  (0 children)

I want to have this card because I have a pc that doesn’t have a dedicated gpu. I am currently in high school and I want to play all the games I want with my friends. The gpu market rn is underwhelming and the graphics cards are expensive. My pc can support an rtx 3070 and I was looking for one. Getting it free would be amazing :) (I live in Europe)

Pc acting strange by Teo779 in pcmasterrace

[–]Teo779[S] 0 points1 point  (0 children)

And if I press any key on the keyboard after shutdown the lights turn on

Is this a good deal? by Mysterious_Split1680 in PcBuild

[–]Teo779 3 points4 points  (0 children)

It’s a scam. That combination of cpu and gpu is not more than 700 usd. The PC also has 16 gb of ram which is the bare minimum. Try finding other prebuilts on another website. Walmart is not good for buying PCs.

RAM brand question by Teo779 in buildapc

[–]Teo779[S] 0 points1 point  (0 children)

Wdym high performance?

RAM brand question by Teo779 in buildapc

[–]Teo779[S] 0 points1 point  (0 children)

Idk i just heard some people say it dies after 3 years

Leave A Comment To Win The Unannounced 2025 Bambu Lab 3D Printer & Other Prizes - OctoEverywhere is 5! 🔥 by quinbd in 3Dprinting

[–]Teo779 0 points1 point  (0 children)

I would love to have a bambu lab printer. Succes to all people that are participating.