Search the Community
Showing results for tags 'codes'.
-
Hi! im very new to Arduinos and coding, and am creating a panel for a flight sim i have a bunch of switches hooked up to an Arduino micro but it doesnt do quite as i would like the way the code is setup it just keeps cycling and pressing the button i want but this doesnt hold up well in games as it just spams the button rather than hold it can anyone give any suggestions? thanks! #include "Keyboard.h" int keys[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}; void setup() { // put your setup code here, to run once: Keyboard.begin(); // setup keyboard for (int i = 2; i < 13; ++i) { // initilize pins pinMode(i, INPUT); } } void loop() { // put your main code here, to run repeatedly: for (int i = 2; i < 13; ++i) { // check buttons if(readButton(i)) { doAction(i); } } } boolean readButton(int pin) { // check and debounce buttons if (digitalRead(pin) == HIGH) { delay(10); if (digitalRead(pin) == HIGH) { return true; } } return false; } void doAction(int pin) { switch (pin) { case 2: Keyboard.press('1'); delay(10); Keyboard.releaseAll(); break; case 3: Keyboard.press('2'); delay(10); Keyboard.releaseAll(); break; case 4: Keyboard.press('3'); delay(10); Keyboard.releaseAll(); break; case 5: Keyboard.press('4'); delay(10); Keyboard.releaseAll(); break; case 6: Keyboard.press('5'); delay(10); Keyboard.releaseAll(); break; case 7: Keyboard.press('6'); delay(10); Keyboard.releaseAll(); break; case 8: Keyboard.press('7'); delay(10); Keyboard.releaseAll(); break; case 9: Keyboard.press('8'); delay(10); Keyboard.releaseAll(); break; case 10: Keyboard.press('9'); delay(10); Keyboard.releaseAll(); break; } } sketch_apr13a.ino
-
With amazon prime, I got access to twitch prime, and I don't need this code as I don't own the game. here you go! UOSBT-2BW5G-7D5RJ-O8L9P-5XMHC
-
Hey guys, my brother was kind enough to give me his spare early access code for the battlefront 2 beta but my wife wants to play as well so just chancing my arm as we say in N.Ireland that someone here might have their extra code going spare????? thanks!
- 1 reply
-
- battlefront 2
- beta
- (and 4 more)
-
I don't know what happen but when i wake up in ther morning and turn on my computer i saw code 10 on dr debug i quickly searched what the code was about and it was memory, after a couple of tries and desactivate all the cables i turn on the computer with a screwdriver and it the computer turned on and the computer was normal it wasn't slowing or anything, i could listen to músic, vídeos or even play games without any problem, first i thought it was a cable issue causing it maybe a broken cable and the energy was leaking or something. But after i installed a new SSD and tried to turn on the computer in the smart button on the motherboard something very strange happened, dr debug kept cycling with multiple codes if not all the codes, but he stoped for 1-2 seconds in some codes that were 79,70,78,68,A9,b3 and 39, i started panicking and did everything i could to solve it. I Took all of the cables from the motherboard only leaving the CPU Fan, and PSU, still nothing, tried to clean up the board and the CPU still the same. Then i tried to test the memory ram in each slot one by one and and even the 2 and switched them both still nothing. Tried to reset CMOS battery, and reseting CMOS by jumper and by the Smart button still nothing, i thought of trying to reflashing my bios to older version but since the POST even doesn't come i didnt' do that (the screen is all black), tried to check it any transistor was broken on the CPU and there was none, reseated the cooler and still nothing. I removed the motherboard out of the box and the problem persisted. I removed all the cables and even removed the HDD and GPU and the problem of Dr. debug was still there. I also tried to replace the CMOS batery with a new one and nothing the problem was still there. The strange thing is that if i removed the 2 Memory ram slots of the motherboard, Dr debug appears the code 19 and doesn't gets out of there, and if i replace the memory ram sometimes appears the error 10, and even the dr debug led doesn't even turn on i have either to restart the pc or shutdown and turn on so that dr debug turns on. Please can someone help me with this i don't know if there is a problem with my CPU,Ram or Motherboard or even PSU. The Specs of my PC are: FX 8350 4.0@ Black Box Edition GTX 760 192-bit edition Gskill Ripjaws X CL7 2x4gb 1600mhz XFX 650W XXX Pro Edition Semi Modular Asrock 970 Extreme4 , Bios P2.80 Coolermaster Hyper 412S Seagate Barracuda 500GB SATA3 6gbps 16mb cache Kingston HyperX Fury 120GB MLC Read more: http://forumstest.tweaktown.com/asrock/62976-dr-debug-crazy-codes.html#post504974
-
I'm looking at the origins black friday sale and want to buy a couple of things as I am most likely building a gaming rig around christmas. Anyone know though do I get codes when I buy the games? This is just in case my build falls through and I could sell the codes (usused) as I do not currently have a machine capable of playing the games.
-
I want the True Geeks version of a super list with all windows keys and codes!!!!! I want the big boy list of codes that involve isolating and or resetting hardware on the motherboard to being able to shortcut my way out of an issue when my display goes dead on my laptop for absolutely no reason while dgpu is engaged with no way to switch to the onboard igpu and your fingers are allergic to dismantling anything on the motherboard. Im tired of seeing the same old lists out there for your more normal users. So I hear that: Win+cntrl+shift+B can reset Gpu. Has it worked for anyone else and tell me more like these!
-
- shortcut keys
- shortcut
- (and 4 more)
-
Hello to the community! i have recently built a pc using the following parts, Gigabyte X299X designare 10g intel 10900x cpu g.skill trident z royal series RAM (4 x 16 GB) corsair hx1000 PSU corsair h150i pro RGB “I have not yet added a gpu” So far I still did not buy a monitor and that is why I was planning to use a TV to check my new build. This is when I realized that the TV only supports HDMI input and my motherboard has only DisplayPort outputs. That is why I purchased an adapter that will convert an HDMI cable to DisplayPort. so I connected one side of the HDMI cable to the TV, and the other side of the HDMI cable to the adapter, and then I connected the adapter (which is a DisplayPort) to the back of my case (my motherboard output) problem is that I am not receiving any signal ir any display on the TV. Any ideas in how I can fix this problem? I must also mention that, when I turn on the PC, a series of codes are showing on the motherboard LED, the codes cycle really fast, some stay for a second or so but they all change till the last code is “AE” and that code stays. Is this cycling through codes normal? Should I debug all of them? Or shall I only be concerned about the last code that stays there? What about the ones that are only shown for a second or so and then change? i have attached a video of the motherboard LED codes. I have also attached a photo of the HDMI cable plugged into the adapter. it would be great if someone could help me. thanks! IMG_7402.MP4
- 24 replies
-
- displayport
- hdmi
-
(and 2 more)
Tagged with:
-
hello in new to the forum so i hope i got this in the right place. anyway recently i upgraded my ram capacity to 32 GB and have been having problems of hardware reserve of taking half of it. i had been randomizing the placement of the 4 ram sticks and have managed to get it down to 50.4 MB. since then i have been having windows boot problems and the odd bios code as shown on the video. here is me trying to boot into windows and you can clearly see my problem https://streamable.com/lju8q8 My Pc specs windows 10 64bit ryzen 7 1700x asus RTX 2080 8GB Gigabyte gtx 1060 6GB gigabyte B450 aorus elite evga 750 bq 80+ bronze Hyperx Fury 2x8GB (HX432C16FB3K2/16) - my current ram at the time Hyperx fury 2x8GB (HX432C16FB3K2/8) - bought second hand if anyone could help me out that would be appreciated
-
Hey guys, does anyone know where I might find the codes to unlock a samsung galaxy s5 locked in ontario? I see a bunch of different places where you have to pay. Well, I am competent with phones and don't really want to pay for a code. So I was wondering if anyone knew of a place that may have some codes? Thanks, -Splizza
-
Hi everyone, I recently decided to flash my BIOS. I probably could have left it alone but I'm doing a clean Windows 10 install soon with the new updates and wanted to make sure everything was up to date. I started to get the 5 short beep error during startup after flashing, running the most recent BIOS (v2.02) and when booting into the UEFI BIOS it is still beeping and incredibly slow. Windows still starts up eventually. I know this code means "process failure" based on a quick google search, but everything worked fine before the update so I don't know what this could mean. My specs are listed below, so any help or advice would be greatly appreciated. Thanks! EVGA Z97 Classified EVGA 980 ti Classified Corsair HX850 Corsair Vengeance 4GBx4 Intel Core i7 4790k
-
Is there any sites similar to G2A that sells cheaper console games?
-
!!!THIS IS A WARNING TO ALL EBAY SELLERS THAT SELL STEAM/UPLAY/ORIGIN/ETC. KEYS!!! For the last 2 weeks, I've been selling Steam codes for Black Ops 2 and Mortal Kombat X on eBay. All of a sudden, two or three days ago, I started getting chargebacks from some of my buyers' banks. The first one, eBay just credited me the money the person paid, seeing as I never had any problems with angry buyers in the past. But then a day later, the buyer by the Paypal name of Billy D. Cora filed for a chargeback on 2 separate purchases. I found the eBay account I suspect to be his/hers: billd.cor_0. But that account has only made 1 purchase from me. The same day, a seller by the name of gamerschoice53 contacted me and told me that Billy had started filing chargebacks for her, too. We found out that Billy is using another account by the name of evrevrar to make most of his/her purchases, because billd.cor_0 and evrevrar bought codes from me one after the other a few days ago, and evrevrar also bought from gamerschoice53 as well! What's more, both accounts left positive reviews on both of our accounts, and gamerschoice53 even confirmed that there's at least one other person being scammed by this asshole. My Paypal even shows that Billy D. Cora made a purchase TWO DAYS BEFORE THESE CHARGES WERE FILED!!! Remember, she/he is trying to get their money back from purchases made almost a WEEK ago. I've made a short list of people that are scamming us, or we suspect might try in the future: billd.cor_0 evrevrar sanenrisand (this one's bought, like, 20 codes off of me, and her address leads to a shopping plaza in Texas) billyboy larr-shrag ----------------------------------------------------------------------------------------------------------------------------------------------------------------- I will update this list as more names become available. But if any buyers listed have bought from you, EXPECT A FRAUDULENT CHARGEBACK, AND BLOCK THESE PEOPLE FROM BUYING FROM YOU!!! !!!PLEASE SHARE TO SPREAD AWARENESS!!!
- 15 replies
-
1) So how can I input different numbers in different lines without having to press enter , in other words , is there anyway to write a code like cout<<sth<<endl; , but with cin ??? Ex: input should look like this : 80000 250000 37000 2) is there a way to know if the output of a square root will be an integer or not ? 3) what code shall I use to add consecutive numbers whose total number is the input? , Ex; input is 10 m so it's supposed to add 1+2+3+4+5+6+7+8+9+10
- 13 replies
-
- c++
- programming
-
(and 3 more)
Tagged with:
-
My computer told me it recovered from an error recently. I normally leave it on 24/7 and don't know when the bluescreen occured or what may have caused it. At the time of this event, it was actively folding @ light intensity. Below are the codes that pop up after a reboot. Any ideas on how to decipher these would be most helpful. Problem signature: Problem Event Name: BlueScreen OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1033 Additional information about the problem: BCCode: 3b BCP1: 00000000C0000005 BCP2: FFFFF960002D7EDF BCP3: FFFFF88009170B50 BCP4: 0000000000000000 OS Version: 6_1_7601 Service Pack: 1_0 Product: 256_1 Files that help describe the problem: C:\Windows\Minidump\041114-11824-01.dmp C:\Users\**********\AppData\Local\Temp\WER-6432217-0.sysdata.xml
- 8 replies
-
- bluescreen
- bsod
- (and 4 more)
-
So I was Clearing up my desktop and I came across a file with a few codes in it left over from a humble bundle but i already have most of them and the others i don't have an interest in playing them so i thought I would let you guys have them instead of just letting them go to waste. Also i would appreciate it if you only took 1 game that you would like to play and then post which game you've taken so people don't try and use codes that have already been activated. I know that they are all quite old now but I thought some people might not have played them and would like to give them a go. (Any of the keys that are left might already be taken, Sorry) Steam Dead Space D9CLI-IJVN6-QI6HZ Medal of Honor VPN8T-8VNRX-G4D3Q Origin Dead Space 4DF7-FQ2V-2UCG-P4QP-3QJ9 Burnout Paradise: The Ultimate Box E3M5-UJTB-BPZR-V4DF-A7AT Crysis 2 Maximum Edition 2QYY-6RJG-LULZ-EGUR-QCFU Dead Space 3 9JH9-8UNZ-DVPZ-662B-XGTW Medal of Honor B23B-FFVP-R9C9-RYLT-FQDH Mirror's Edge 4PJS-A3VA-JRCM-ZY87-FRC8
-
Time for my second give-away! I've got another 5 invites to give away. Same rules as before, you need to use a Gmail to sign into Ingress as the code is tied to that. PM that Gmail to me and I'll send an invite your way. Original thread: http://linustechtips.com/main/topic/43645-ingress-invite-codes-giveaway/#entry570681 Codes left: 0
-
Hi everyone, Today I received too many keys for Titanfall Beta, I only used one and still have x2 Xbox Live Codes and x1 PC Code to give. EDIT: The XBOX codes are only for Xbox ONE console, not Xbox 360. Be sure to own a Xbox ONE before asking for a Code, thank you! EDIT #2: THE PC CODE IS NOW REDEEMED BY: "T.Veneance" Congrats! EDIT #3: THE FIRST XBOX ONE CODE AS BEEN REDEEMED BY: "Str_Maple" See you on the Battlefield, Pilot!
-
So here's the thing, I went to power up my PC a few hours ago but instead I am grated with the constant beeping of the speaker. Checked the manual and anything between 50 and 55 is a memory issue on the debug LED. I tried taking out the RAM and GPUs and getting it to report a false error. Nope. Tried to reset CMOS. Nope. Really really stuck. Spec is in spoiler.
-
- z77
- motherboard
- (and 7 more)
-
The Specs of my PC: CPU: Intel Core i7-5820K MB: MSI X99S SLI PLUS PSU: Corsair RM850 RAM: Crucial Ballistix 8GB CL16 (Temporary) CPU_FAN: CoolerMaster V8 GTS GPU: NVidia 9600GT (Temporary) HD: Seagate 2TB Desktop SSHD I get many restarts suddenly on Windows 10 and less and some with blue screens on Windows 7. Before I tried Windows 7, I gave to the warranty the Power Supply as I was sure it had a problem with the power. I have built many computers also in the past and never had so many problems.. It was my first X99 build though. Right now these are the boot up errors: B4 9C 99 (Sometimes) A9 (Sometimes) A2 (Always when SATA devices are connected) Here are two link of posts I did to the Microsoft Community, it may help you more understand the problem: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_repair/sudden-reboots-on-x99-with-windows-10-technical/e235381a-f38c-48d2-9290-0bc0e5f1a061 http://answers.microsoft.com/en-us/windows/forum/windows_7-system/computer-suddenly-restarts-and-sometimes-shows/d59ea2c1-536a-4a3c-afb3-f986aaa59056?tm=1426591871558