Serial code of mount&blade

NPR

2008.10.08 14:45 NPR

For all fans of public radio, this is a community designed to showcase really good radio stories -- and the people who make them. All public radio fans welcome.
[link]


2011.10.10 11:45 fromTO Mindhunter

Subreddit for the David Fincher Netflix show "Mindhunter". Synopsis: >In the late 1970s two FBI agents expand criminal science by delving into the psychology of murder and getting uneasily close to all-too-real monsters.
[link]


2011.12.27 04:47 Unofficial X-Plane

/xplane
[link]


2024.05.13 23:34 Much-Examination2249 Unknown mod breaking captains shocking beacons

I am having an issue where captains shocking beacons work as normal when placed, but as soon as any enemies are close to them they entirely stop working until there are no longer enemies in range of them. Was wondering if there are any mods that cause that issue that people know about.
my mods include: BepInEx_GUI by RiskofThunderFixPluginTypesSerialization by RiskofThunderRoR2BepInExPack by RiskofThunderBepInExPack by bbepisBetterUI by XoXFabyHookGenPatcher by RiskofThunderR2API_Core by RiskofThunderR2API_Skins by RiskofThunderR2API_Addressables by RiskofThunderR2API_SceneAsset by RiskofThunderR2API_Elites by RiskofThunderR2API_Items by RiskofThunderR2API_Loadout by RiskofThunderR2API_Prefab by RiskofThunderR2API_Sound by RiskofThunderR2API_TempVisualEffect by RiskofThunderR2API_Unlockable by RiskofThunderR2API_Director by RiskofThunderR2API_ArtifactCode by RiskofThunderR2API_CommandHelper by RiskofThunderR2API_Deployable by RiskofThunderR2API_Dot by RiskofThunderR2API_Language by RiskofThunderR2API_LobbyConfig by RiskofThunderR2API_Orb by RiskofThunderR2API_Difficulty by RiskofThunderR2API_DamageType by RiskofThunderR2API_RecalculateStats by RiskofThunderR2API_Networking by RiskofThunderR2API_ContentManagement by RiskofThunderR2API by tristanmcphersonBiggerBazaar by MagnusMagnusonProperSave by KingEnderBrineEmptyChestsBeGone by TheRealElysiumPaladinMod by Paladin_AllianceChillRework by duckduckgreyduckArtificerExtended by duckduckgreyduckRTAutoSprintEx by JohnEdwaZetAspects by William758Pathfinder by BogRocket by EnforcerGangR2API_Colors by RiskofThunderTesla_Trooper by TheTimesweeperHypercrit by ThinkInvisMinerUnearthed by EnforcerGangSniperClassic by EnforcerGangDancer by nayDPzRisk_Of_Options by Rune580HAND_OVERCLOCKED by EnforcerGangMobileTurretBuff by MoffeinTwitch by xiaoxiao921Shyvana by Team_PepegaHeretic by MoffeinTeleporter_Turrets by RuneFox237HuntressAutoaimFix by HIFUHIFUCommandoTweaks by HIFUHIFUEngineerTweaks by HIFULookStraightDown by HIFUDisabledHIFUVoidFiendTweaks by HIFUFixKjaroRunald by HIFUHIFUMultTweaks by HIFULunarConstruct by HIFUHIFUMercenaryTweaks by HIFULeapSkills by HIFUBetterJumpPads by HIFUActually_Faster by FeldaPersistentDesperado by OldFaithlessNoLockedInteractables by CyroTeleExpansion by MoffeinAgilePowerSaw by kking117QuickRestart by AceOfShadesLobbySkinsFix by KingEnderBrineMoonstormSharedUtils by TeamMoonstormCloudburst by TeamCloudburstDriver by rob_gamingVideogame_Mod_2_Unofficial by Risky_LivesAssassinMod by HasteReaprArsonist_Mod by PopcornFactoryRMOR_REFORGED by MoriyaFaithDeputy by BogChefMod by GnomeEnforcer by EnforcerGangRiskOfWaiting by Groove_SaladScrollableLobbyUI by KingEnderBrineArrow_Rain_Buff by MoffeinWaxQuailMultiJump by TheRealElysiumSpearman by SaucySquashGreenAlienHead by duckduckgreyduckAcrid_Blight_Stack_Buff by MoffeinClairenMercenary by AntlerShedAutoItemPickup by KubeRootKindredHuntress by Arty_BoyosLunar_Wisp_Falloff by MoffeinMiniMapMod by DekuDesuAddFoVSettings by QuizzikProcLimiter by DrinkableWaterItemDisplayToggle by PulipingRealerCheatUnlocks by prodzpodConfigurableBazaar by NuxlarShowDeathCause by NotTsunamiMultitudes by wildbookItemStats by MoffeinUmbralMithrix by NuxlarWhatAmILookingAt by BubbetConscript by StormRidersQolElements by ThrayonlosaAutoRebar by PrototypeCaptainShotgunModes by Vl4dimyrEclipseExtended by Groove_SaladCurseCatcher by 6thmoonEclipseArtifacts by JudgyClassicItemsReturns by Risky_SleepsStandaloneAncientScepter by amogus_loversXerath by Team_PepegaScrapLauncherReload by MoffeinArtificerM1Reload by MoffeinTILER2 by ThinkInvisRegeneratingScrapTweak by TeroWaterTweaker by JudgyAutofireSkills by DestroyedCloneFlurryFix by MoffeinAI_Blacklist by MoffeinYAU by pseudopulseOverseer by pseudopulseShaman by StormRidersTheHouse by JavAngleOrographicGambitBaseMod by JavAngleMyst by JavAngleDaredevilMod by nayDPzSwitchChaosAndGesture by ChinchiMipha_Mercenary by SussyBnuuyXiConstructFix by OakPrimeHuntersHarpoonBuff by OakPrimeAmp by NeonRainRavager by rob_gamingCoolerStages by NuxlarJeanHuntressSkin by HitagiTzuyuBuilder by Team_PepegaMELT by PlasmaCore3Xenologist by Team_PepegaPilot by EnforcerGangShaderSwapper by Smooth_SaladMortician by BogBomber by DragonyckSurvivorSortOrder by TheTimesweeperBastian by TeamSillyGuyUnofficialRiskOfRuina by MoonlolSeamstress by tsuyoikenkoOri_Mercenary by Rekku484More_Difficulties by SpikestripModdingRealityShifter by Team_PepegaYuumi by Team_PepegaZeri by Team_PepegaTracer by DragonyckProperlyPersistentProfilesPatchPlugin by Groove_SaladBetterLoadingScreen by GoorakhConfigurableButtonRemover by pseudopulseVoidFiendTweaks by BogVoidFiendHudTweaks by fiendtopiaProceduralStages by LawlzeeEarlySpawnBoost by NuxlarScout by tsuyoikenkoLookingGlass by DropPodSorceressMod by FrosthexAttackDirectionFix by Goorakh
submitted by Much-Examination2249 to RiskofRain2_Mods [link] [comments]


2024.05.13 22:41 timg528 $20 for 10,000 mile service

$20 for 10,000 mile service
I've seen a few posts asking about the cost. I'm stuck in traffic on the way back from it and thought I'd share mine.
The lady at the counter said the wash and charge were complementary, but asked if I wanted to wait around for them. Their policy is to charge the vehicle up 20% over what it came to them with.
submitted by timg528 to F150Lightning [link] [comments]


2024.05.13 22:14 Aborigine29 Rough idle

Recently I’ve been experiencing a random rough idle. It could happen when I’m not moving, or when I’m going slow, under 1500 rpm. It seems to be completely random, sometimes it’ll happen at the start of a drive or in the middle or the end. Other times it won’t happen at all or be perfectly fine after doing it at the start/middle.
I’ve used an OBDeleven to look at codes and there was misfires in all 4 cylinders but I replaced the camshaft position sensor and those codes went away and the tool doesn’t show any more misfires, even though it was just doing it yesterday. The only code showing up is a coolant fan issue
Here is the OBDeleven log:
OBDeleven vehicle history log Date: 2024-05-13 15:35:43
VIN: 3VWL17AJ0EM408946 Car: Volkswagen Jetta SEL Year: 2014 Body type: Saloon Engine: CPRA kW ( hp) l Mileage: 86942 mi 
01 Engine System description: R4 1.8l TFS Software number: 06K906070F Software version: 9360 Hardware number: 06K907425 Hardware version: H09 Serial number: 00000000000000
 Faults: P069100 - Cooling Fan 1 Control Circuit Low Intermittent Priority - 2 Malfunction frequency counter - 1 Unlearning counter - 255 km-Mileage - 139878 km Engine speed - 1234.75 1/min Normed load value - 0.0 % Vehicle speed - 53 km/h Coolant temperature - 84 °C Intake air temperature - 23 °C Ambient air pressure - 970 mbar Voltage terminal 30 - 14.296 V Dynamic environmental data - 209628110E0511EC0411DC02AB11ED1A10A6021511EE1F11DB02EB date - 2116-12-28 02:56:21 
submitted by Aborigine29 to jetta [link] [comments]


2024.05.13 22:04 Idenwen DHT11 problems, readings extremely off

I need some suggestions where to continue. I googled and tried everything I found but to no avail.
One is salt drying at the moment, left them in the room to acclimate for 20 hours after getting them out of their anti-static packages, they get the correct voltage of 5V. Suggested baking at high temperatures isn't possible because everything available is either too hot or not hot enough.
The sensor states that I am at around 10-12% humidity at 1.4-1.8 °C - realistic is around something 80-90% and around 25-29 °C
It's a module and has the resistor already onboard, but tried with an external one too.
Followed the hardware setup from here
I use the Adafruit DHT lib, installed over the library manager.
Relevant code:
//Sensor #include "DHT.h" #define SENSOR_PIN 2 #define DHTTYPE DHT11 // DHT 11 DHT dht = DHT(SENSOR_PIN, DHTTYPE); float hum; float temp; .... if (tick > SENSOR_INTERVAL + lastSensorTime) { // every 15 seconds lastSensorTime = tick; hum = dht.readHumidity(); temp = dht.readTemperature(); } 
Output is serial and on a SH1106 OLED display, and ofc the same.
I bought the sensors in a package of 5 modules, and all have the same weird readings.
EDIT: NO idea where that image is coming from, only added a link to the site to the text?!?!
submitted by Idenwen to arduino [link] [comments]


2024.05.13 21:51 MGSplinter The Saddle Bag That Made Me A Detective (Dior Large Saddle Bag In White From Good Factory Review)

The Saddle Bag That Made Me A Detective (Dior Large Saddle Bag In White From Good Factory Review)
Happy Monday!!!
I wasn't going to write any more reviews for a while (these are my other ones if you want to see them 1rst, 2nd, 3rd) but I think that this hopefully will help a newbie out there...
SET YOUR SELF UP FOR SUCCESS by setting realistic expectations for both your rep and your seller.
~Author Expertise:~
I have been around reps for 4/5 months but it feels like a lifetime time haha, I have the type of personality that if something interests me I get very into it. Until I get to a more than-average mastery level, then I get bored... haha... If it wasn't for this community I think I would have gotten bored of reps and fashion since my style is very classic/timeless/full color, not patterns... I see so many cool fun things in the daily chats and that has kept me engaged... I came for the reps and stayed for you wagoon humans. haha
Anywho I always tell my employees if "you are not 'happy' with something or someone's actions most of the time it is because you did not set the correct expectations rather than the thing not being correct or what you wanted.... and I played myself 100% in this transaction (I should listen to my advice, please dear newbie do as I say not as I did)
I contacted Reykay because everyone keeps raving about how sweet, nice, fast, great quality items, 'best seller ever' she is. I also read the review of the WL that met in person with her and said how great she was... (I am not about to say she is not, so fans please don't worry:), I am just going to provide my perspective as a new customer in 2024 after (my guess is) she got a bunch of clients thanks to the sub)
(Please feel free to skip to "Quality of your rep from your factory" for the Saddle review:))
So I reached out thinking she was going to be a bottle of sunshine haha (which is my fault) and throughout all of our interaction she was very one word, meh.. dear I say... Steve was more talkative than her (gasp haha)
I will give a detailed timeline below but essentially: I reached out on 4 separate instances, with a few items each time, 3/4 were 'no have' (I reached out to other sellers and they did have them... not saying this to her is bad on her and to not have then.. just mentioning so you know I wasn't asking for not repped things or anything wild), 3rd time I reached out it was because a different WL had just said she bought X from the seller and when I asked, the seller was like 'no have'... at that point, I just assume she maybe wasn't taking new clients?.. but I randomly saw she posted the saddle bag on her page. so I decided to reach out one last time and this is how this transaction happened:)
~Disclosure:~
The seller does not know I will be reviewing
~Seller Contact:~
RayKey
WeChat: Taigu2020
WhatsApp: +86 131 7208 1101
Album: Here
~Price Paid for Item:~
Large Dior Saddle- 2950 CNY
Shipping- 340 CNY
Total- $455 USD + pp fee
Paypal FF Fee- $18.49
~Shipping Tracking info:~
I was sent a picture of the box on 4/26 with no tracking, then the box showed up on 5/2...
I asked for tracking on 5/2 and the seller sent me tracking on 5/3, I answered with "Got the bag, thank you for all the help" (feeling like a goose hahaha)
6 days (including a weekend)
~Timing:~
4/16, Reached out with 2 wallets and 2 shoes
4/17 "there is no such styles"
I asked if all 4, she said yes. I thanked her
4/21 reached with 2 bags
"not have" I thanked her
4/25 I asked if she carried any of the Loewe x Ghibli studio bags,
4/27 She asked me for pictures,
-I sent her what shows up in Google if you googleled "Loewe x Ghibli" and then hit the shopping tab. (so an assortment of puzzles and hammocks)
-"not have"
At this point, I thought she was just not taking new clients because among the items was the one that a different WL said she had just purchased from her. I was about to just stop reaching out when I saw she had posted a bunch of Dior items in her album among them the saddle bag.
-I sent her her own picture and asked if she had it
4/28 "bag 2300cny" "shoulder strap 780cny"
I asked if it came with the white long strap
"25cm 2950 cny" "god factory"
I ask for pictures
"yes"
I asked if it was good quality because I thought the angel factory was supposed to be better
-Sends me the factory picture (Sorry I only kept one I did not know I was going to do this review)
I thanked her and asked the same question about the quality
"angels factory does not have strap"
I said ok but if she had any preference or any insight on the quality of the bag itself.
The above messages were a back-and-forth conversation and at this point, she stopped answering and I started just researching on my own...
4/29
I said I would order
she sends me the total and PP info
I paid
"received"
4/30
I realized I hadn't sent her my address so I did
"ok"
5/3
I said sorry I forgot to ask about the timeline
5/4 (this is the most she said in one message haha)
"these days are holidays in tomb-swiping day, so I need to go home to worship my ancestors"
"When I come back, I ask the factory the time"
I said thanks, enjoy the holidays! and she reacted to my message
5/6
"need to make this color" "Can you wait?"
I said yes how long, she said "about 20 days"
I thanked her
5/23
I asked for an update
she said she will have it tomorrow and then 3 or 4 days for PSP
I said awesome thank you
5/25
PSP
I asked for psp for the strap, she sent that. and I GL
"mail tomorrow"
I thanked her
5/26
verified my address, I GL and she sent me a picture of the box.
5/2 got the box
~Quality of your rep from your factory~
I first thought the box was way too small to be the bag and then I opened it and realized, it was the bag just in the dust bag and the Dior star (nothing else in the box)... I double-checked on the chat to see if I requested no box but this was not discussed so it was a little disappointing. Then I picked up the bag and it felt heavy so that was nice... Then I opened the dust bag and saw the grey spots the bag has all over and I was like what the heck! is this dirty? (I could not wipe it off). Is the leather damaged?
At first, I was worried that this bag was a 'swap'? I checked the psp and after zooming in on psp and factory photos they indeed also had this leather style/grey spotyness...
My next concern was is this a 'bad rep'? and here is what I found out (spoilers no it is not, I just was not detailed enough to realize this is how the leather looks)
I will be comparing it to the auth pictures I got from Fashionphile
-Leather texture A.K.A the elephant in the room... there is no 'up close' picture but after zooming in to all the pictures from preowned websites they all look to have these grey dots that make the bag look like it is from wear and tear or dirt... This seems to be the norm and that is how the 'grained calfskin' that Dior chooses looks... It is very annoying and misleading that they did not mention this on their website and their pictures are ELEGEADLY (don't sue me Dior) photoshopped because their website is the only place where if you zoom in the grey spotyness does not show....
-The front of the bag: looks the same, the D hangs at the same level and the hard ware color its not to shiny which I am VERY happy about
https://preview.redd.it/ckxaz9nqt80d1.png?width=756&format=png&auto=webp&s=0eeb1eaaa6ec56a3062fb84fcb9039310dee59a7
-Back of the bag: the back pocket is very spacious and it starts were the sides hw ends just like the auth
https://preview.redd.it/z7g324odu80d1.png?width=709&format=png&auto=webp&s=ccfdb249161204326fbf90226e7528e68a4a6e87
-Bottom: it has the same proportion, I will say the rep seems thiker, maybe because its new? but I'm not mad at it haha
https://preview.redd.it/7xw11okxu80d1.png?width=631&format=png&auto=webp&s=9c376f2f15969b925d77f6b850d04217fe17fe86
-Bottom different angle: same thing, rep is less flat... again I think is because is new
https://preview.redd.it/bk93lsdev80d1.png?width=531&format=png&auto=webp&s=ab27b3094a85485d20823d85200f5ab563798f7f
-Inside: same color, same stitching pattem, inside hardware seems sligly darker less yellow looking... I think the FP people photoshop the photo to look lighter don't think its a actual difference.
https://preview.redd.it/vx9ae2clv80d1.png?width=550&format=png&auto=webp&s=cfa453d039dae829e2071de4ec152c527bbf85d0
-Stamp: stamp looks pretty similar not the same, it does look like the stitches in the auth are all around smaller in the auth the in the rep (in case anyone was wondering haha)
https://preview.redd.it/dl5yc6r3w80d1.png?width=553&format=png&auto=webp&s=d97b18a5846adb9ebaf36688f6ad723e833db419
-Lastly here is the serial code: I think the stamping in general looks deeper in the auth but I think with this bag it should be a issue.
https://preview.redd.it/cr7re1sqw80d1.png?width=556&format=png&auto=webp&s=aae5775e1dad4224efcd30d23be247bf2b524587
Rep Satisfaction
I really like the bag it feels heavy and lux how I imagine the auth would feel. No fufu, it has a leather smell to it. After getting over the leather shock and comparing it to the auth. I will for sure take it to the store and I am SO SO HAPPY I got it. If you want this bag for sure get it from good factory!
Seller Satisfaction
Reykay was fast on answering and delivered a great product... I know she had no control over the item not being in stock, I would go back to her if she had a specific item my go-to seller doesn't have but in general, I am not planning on it only because it seeing she is very busy and I do want to know that if I am ordering from a seller and I have questions about the product the seller is willing to answer and it seems like because of the volume of clients she has she is not able to do that... Which is a good problem to have for her haha
The Wrap Up
I really like the bag!! When ordering. I suggest looking at both pictures of the auth on the company website (if possible) and on a 3rd party site, and zoom in on pictures so you won't get surprised like I did haha. and ones you are ready to order do the same with the factory pics the seller will provide.
When it comes to sellers you can't expect them to behave with you the way they behave with other clients, go in with an open mind and no preconceived notions and come to your own conclusions. (except when you read about bad experiences run the other way in that case or be ready to gamble haha)
**In my opinion** this is such a cool shape bag, I love having it in my collection and there is something about wearing it as a shoulder bag that makes it feel very comfortable in the under-your-arpit area hahaha... It is the most comfortable bag to carry like that, that I have experienced... Am I explaining that well? haha...
Anyways, thank you for reading... sorry about the length
submitted by MGSplinter to WagoonLadies [link] [comments]


2024.05.13 19:01 ngrybst Delays in action

I am working on a Python script that reads the weight of two scales and controls a conveyor belt based on the weight given by the scales. I'm running on a Rasp Pi with a dual RS-232 hat and a Sequent 4 relay hat.
I believe the logic is now sound, but I'm seeing delays in the action.
The issue I'm seeing is, when there is an event that causes a state change, meaning the relays are supposed to toggle due to a weight change, sometimes there is a significant delay in the relays doing what they should. I've timed it sometimes as high as 20 seconds before the relays toggle to the proper state. The script output looks like the weight is being received from the scales; the relays don't change fast enough. Is there something in the below code that I'm missing?
import serial import threading import sm_4rel4in as rel import time import re ports = ['/dev/ttySC0', '/dev/ttySC1'] relay_board = rel.SM4rel4in() def stop_belt(): relay_board.set_relay(1,0) relay_board.set_relay(2,0) def read_serial(box_number): ser = serial.Serial(ports[box_number-1], baudrate=9600, timeout=1) line = ser.readline().decode('utf-8','ignore') return line def get_weight(box_number): for i in range(10): if i>0: print(f"Attempt #{i+1} to read serial {box_number}", flush=True) line = read_serial(box_number) match = re.search(r'-?\s*\d*\.\d+', line) if not line.startswith("GROSS") or match is None: continue weight = float(match.group().replace(' ', '')) print(f"Raw output from {box_number}: {line}",end='', flush=True) print(f"Parsed weight from {box_number}: {weight}", flush=True) return weight raise ValueError("Could not read serial.") def is_missing(weight): return weight <= -0.1 def is_full(weight): return weight >= 50 def is_fillable(weight): return -0.1 < weight < 50 def main(): while True: w1, w2 = get_weight(1), get_weight(2) print(f"W1:{w1} \t W2:{w2}", flush=True) if is_missing(w1) and is_missing(w2): print("Both boxes are missing", flush=True) stop_belt() print("Belt stopped...", flush=True) elif is_missing(w1) and is_full(w2): print("B1 is missing and B2 is full", flush=True) stop_belt() print("Belt stopped...") elif is_missing(w2) and is_full(w1): print("B2 is missing and B1 is full", flush=True) stop_belt() print("Belt stopped...", flush=True) elif is_full(w1) and is_full(w2): print("Both boxes are full", flush=True) stop_belt() print("Belt stopped...", flush=True) elif is_fillable(w1): print("Box 1 is fillable") if relay_board.get_relay(1): print("Box 1 circuit is already connected. Belt should be moving towards box1", flush=True) pass # we are waiting for the box to fill else: print("Connecting Box 1 circuit", flush=True) relay_board.set_relay(2,0) relay_board.set_relay(1,1) print("Connected Box 1 circuit", flush=True) elif is_fillable(w2): print("Box 2 is fillable", flush=True) if relay_board.get_relay(2): print("Box 2 circuit is already connected. Belt should be moving towards box2", flush=True) pass # we are waiting for the box to fill else: print("Connecting Box 2 circuit", flush=True) relay_board.set_relay(1,0) relay_board.set_relay(2,1) print("Connected Box 2 circuit", flush=True) else: print("No condition was met.", flush=True) print('\n', end='', flush=True) time.sleep(.25) if __name__=="__main__": main() 
I've run different code that accomplished the same task, and the relays were changing appropriately immediately. There were other issues with that script, so I had to re-write.
submitted by ngrybst to learnpython [link] [comments]


2024.05.13 18:35 djkalantzhs24 Some help on custom keyboard communication with the Raspberry Pi through i2c.

Hello, I've made a custom keyboard using an Atmega32 mc and i want to send the data to the raspberry pi through i2c connection.
#include  #define NUM_ROWS 5 #define NUM_COLS 10 const int rows[NUM_ROWS] = {A0, A1, A2, A3, A4}; const int cols[NUM_COLS] = {0, 1, 4, 5, 6, 7, 8, 9, 10, 12}; String keyMapNormal[NUM_ROWS][NUM_COLS] = { {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}, {"Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"}, {"A", "S", "D", "F", "G", "H", "J", "K", "L", "DEL"}, {"Z", "X", "C", "V", "B", "N", "M", ";", "'", "ENTER"}, {" ", "SFT", "ALT", " ", "SPC", "SPC", " ", "CTRL", "CTRL"," "} }; String keyMapShifted[NUM_ROWS][NUM_COLS] = { {"!", "@", "#", "$", "%", "^", "&", "*", "(", ")"}, {"Q", "W", "E", "R", "T", "Y", "U", "I", "{", "}"}, {"A", "S", "D", "F", "G", "H", "J", "K", "L", " "}, {"Z", "X", "C", "V", "B", "N", "?", ":", "\"", " "}, {" ", " ", "ALT", " ", "SPC", "SPC", " ", "CTRL", "CTRL", " "} }; bool shiftPressed = false; bool ctrlPressed = false; bool altPressed = false; void setup() { for (int i = 0; i < NUM_COLS; i++) { pinMode(cols[i], OUTPUT); } for (int i = 0; i < NUM_ROWS; i++) { pinMode(rows[i], INPUT); digitalWrite(rows[i], HIGH); } Serial.begin(9600); Wire.begin(); } void loop() { for (int i = 0; i < NUM_COLS; i++) { digitalWrite(cols[i], LOW); for (int j = 0; j < NUM_ROWS; j++) { int val = digitalRead(rows[j]); if (val == LOW) { if (keyMapNormal[j][i] == "SFT") { shiftPressed = !shiftPressed; } else if (keyMapNormal[j][i] == "CTRL") { ctrlPressed = !ctrlPressed; } else if (keyMapNormal[j][i] == "ALT") { altPressed = !altPressed; } else { if (keyMapNormal[j][i] == "DEL") { Serial.println("Delete pressed"); sendDataToSerial(127); } else if (keyMapNormal[j][i] == "ENTER") { Serial.println("Enter pressed"); sendDataToSerial(13); } else if (keyMapNormal[j][i] != " ") { if (!ctrlPressed && !altPressed && !shiftPressed) { Serial.println(keyMapNormal[j][i]); sendDataToSerial(convertToAscii(keyMapNormal[j][i])); } else if (ctrlPressed altPressed) { if (!shiftPressed) { Serial.println("Special key pressed"); } } } } delay(330); } } digitalWrite(cols[i], HIGH); } } int convertToAscii(String character) { if (character.length() == 1) { return character.charAt(0); } else if (character == "DEL") { return 127; } else if (character == "ENTER") { return 13; } else { return -1; } } void sendDataToSerial(int data) { Wire.beginTransmission(0x3F); Wire.write(data); Wire.endTransmission(); } 
This is the keyboards's code. I'm not sure if the whole i2c communication part is right coded. If someone could give it a very quick look and give me any tips, would be great. Next i will have to write some kind of driver for the Raspberry pi to read the I2c data.
submitted by djkalantzhs24 to embedded [link] [comments]


2024.05.13 18:25 Practical_Look937 If you hate dougdoug check out r/weloveougdoug the better streamer

RELEASE NOTES 1.35.21.0
If you are playing on PC, outdated packages in your community folder may have an unexpected impact on the title’s performance and behavior. If you suffer from stability issues or long loading times, move your community package(s) to another folder before relaunching the title. How to install a new update safely
NEW CONTENT/FEATURES Added flight plan assistance setting for ATC in the user experience assistance settings so that users can request the ATC to favor their flight plan or world map flight settings over the current conditions. This assistance is set to “Active” by default. Active: ATC will set the active runway and approach for the departure and arrival airport based on the users flight plan or settings in the world map. Deactivated: ATC will set the active runway and approach based on current conditions only. ATC now clears a step to the next altitude some time before arriving at the previously cleared altitude, rather than once arrived at the previously cleared altitude. (Next step is issued when at 2000FT from cleared altitude rather than 250FT from cleared altitude). ATC Vectoring bug fixes: Now assigning the correct clearance when the first two waypoints were one over the other, Now assigning a new vector & clearance every time the user asks the ATC for a new vector. Added completely new Cirrus SR22T G6 model with custom engine simulation, book-accurate performance, and extensive Perspective Plus NXi features.
GENERAL BUG FIXES Several crashes have been fixed across the title Fixed localization bugs Performance optimizations for long flights. Fixed ATC that was mixing voices in localized languages Automated Weather Report temperature reading updated
MARKETPLACE Fixed an issue where the Wishlist would not sort properly in the Marketplace
MENU Fixed freeze when opening the logbook
NAVIGATION/TRAFFIC Enhanced ATC phraseology. Some of the improvements include: The removal of the word ‘for’ in altitude change requests. Eliminating the requirement to include altimeter settings in takeoff clearances.
WEATHER Snow and ice coverage accuracy has been improved in live weather Fixed an issue where the wind from a malformed METAR was incorrectly read Fixed an issue where the sim occasionally retrieves obsolete weather data Improved transition during cloud coverage updates AND fixed an issue where clouds don’t load when starting a flight.
GLASS COCKPITS GARMIN G3000 / G5000 Fixed an issue where removing an airway entry leg from the flight plan could sometimes corrupt the flight plan.
G1000 NXI Added support for hardware keyboard with new AS1000CONTROL_PAD H events. Fixed an issue where removing an airway entry leg from the flight plan could sometimes corrupt the flight plan. AP: Added support for LVL and TO/GA modes MFD: Added Page Menu popup for MFD’s Nearest Airports page. CAS: PFD Alerts softkey indicator now flashes color and changes to appropriate label with CAS messages CAS: Pressing PFD Alerts softkey now acknowledges CAS messages and cancels aural chimes CAS: Alerts now display in order of priority and time first seen SIM: Added support for knob-based XPDR code entry using H events. For aircraft developers: Made all methods in PFD and MFD plugins optional. Exported NavSystems’s class FrequencyItem and its props interface FrequencyItemProps. CAS messages may now be assigned associated Alerts messages via JS and/or plugin code Added support for control pad entry for Constraint Selector in the FPL dialog Added support for LVL and TO/GA autopilot modes Added support for control pad entry on several UI input components Added support for styling the Com selection based on the radio selected to transmit, and for both Nav and Com standby frequencies selected to edit WT21 For aircraft developers:
Added configurable side button support to the WT21
AIRCRAFT GENERAL Payload station weights that are set via SimConnect are now properly displayed in the Weight&Balance toolbar panel. Fixed – L-39 Pipsqueak – Unable to enter values by double-clicking on GNS screen Fixed – L-39 Sarance – Unable to enter values by double-clicking on GNS screen Contact Points compression under some kind of roof (bridge, cave, arch, etc.) was fixed Fixed – P-51D LadyB – Unable to enter values by double-clicking on GNS screen Aircraft Registration can no longer be lowercase Fixed – P-51D Miss America – Unable to enter values by double-clicking on GNS screen Fixed – P-51D Strega – Unable to enter values by double-clicking on GNS screen Fixed – T-6 Baby Boomer – Unable to enter values by double-clicking on GNS screen Improved aircraft simulation stability (few potential crashes were fixed) Fixed – T-6 Undecided – Unable to enter values by double-clicking on GNS screen Corrected an issue that could prevent cockpit interactions from working in some rare conditions Correct many false positive errors regarding InputEvents when loading AI planes Corrected an issue that would cause some P51 to lose power in reno races. Fixed an issue that could cause the state of Avionics circuit depend features to be toggle on and off when no MarkerBeacon circuit was present It is now possible to slow down the simulation speed to 1/8 and 1/16 of real time. EXTERNAL HUD Minimized HUD can now display more than 8 engines power values HELICOPTERS Anti-stall protection is now disabled for helicopters. AIRBUS 310-300 A310 Radio Stuck Broadcasting on KSNS ATIS After Departing KSFO. Vertical speed knob labeled as “altitude knob” in tooltip. AIRBUS A320NEO (V2) During testing of the A320neo, we encountered an application crash rate on console that is too high to pass certification. We need to address this issue before the A320 can ship. BELL 407 Rotor weight changes. Rotor brake force adjustments. Rotor blade dynamics adjustments. Throttle/governed RPM during startup and shutdown. Engine performance changes. Fuel management on the weight and balance settings. Performance data on the aircraft selection screen. Localization text changes. FADEC tooltip. Fuel Pressure gauge illumination. Cold and dark state changes. Checklist correction. Fixed checklist AutoStart. AutoStart sequence now works. BOEING 787-10 / BOEING 747-8I General performance optimizations for consoles and some hardware configurations W&B: An operational CG margin is considered now to avoid extreme CG values when loading the aircraft. SIM: ATC will now know about your planned cruise altitude and will assign you a flight level accordingly. CHECKLISTS: Fixed bug where checklists that only contain closed loop items would sometimes be skipped when entering the checklist page if all items are completed. [787] CHECKLISTS: Fixed flaps checklist items being completed before the flaps reached the selected position. [787] W&B: Corrected movement of the CG as fuel is burned by moving the tanks to the exact locations of those on the real plane. [787] EFB: Support clearing of the TOW field. [787] EFB: Cap the achievable MTOW at the certified limit of the plane. [787] EFB: Correct error message when current TOW exceeds the achievable MTOW. [787] EFB: Added Automatic brightness adjustment. [787] EFB: Fixed spelling errors. [747] SYSTEMS: Reserve fuel transfer will now not stop once started mid flight. CDU: Fix takeoff speeds being invalidated when opening TAKEOFF REF on the copilot side CESSNA CITATION CJ4 SIM: ATC will now know about your planned cruise altitude and will assign you a flight level accordingly CIRRUS SR22T G6 Completely brand-new art and model of the SR22T G6 GTS. Completely reworked flight model and performance featuring: CFD with book accurate performance and pilot tested handling. Modern propeller system. New turbo and fuel engine systems. Custom ECU, engine computer, and EGT/CHT simulation. Custom lean misfire, detonation, and engine failure simulations. Full Perspective Plus features implemented for G1000 NXi, including: Full-screen engine page with anti-ice status and fuel flow targets. Full-screen fuel management page. Weight and Balance page with graphical CG envelope. Trip planning page with automatic and manual modes. Massive suite of interactive checklists. MFD destination inf-box. PFD power gauge, GAGL indicator, GS and TAS. Frequency loading menus on airport and waypoint inf-pages. FIKI (Flight int-Known Icing) and TKS simulation. Stabilized approach system with PFD alerting and monitoring for: Bar-mismatch, crosswind, tailwind, flaps, lateral deviation, and vertical deviation (GS and GP). Updated EIS with custom reversionary mode version. Lean assist, fuel flow green band, and cyan fuel flow lean target indicators. Fully modeled GCU479 Garmin Control Unit keypad with all entry modes. Additional new autopilot mode support including LVL, TO, and GA. Large suite of accurate CAS messages including new G1000 NXi alerts acknowledgement and menu behavior. CURTISS JN-4 “JENNY” Fixed – [KO-KR] Some instruments in cockpit are not localized in Korean in Curtiss Jenny. Fixed – [Localization] Livery names are not localized in liveries page. Fixed – [pl-PL] Missing/untranslated words in checklist. Fixed – [TR-TR] Some instruments in cockpit are not localized in Turkish in Curtiss Jenny. DAHER TBM 930 Fixed broken autopilot panel backlighting. DOUGLAS DC-3 Fixed starting engine in Multiplayer causes other DC3 engines to animate starting Fixed overlapping words on the warning labels inside the cabin and on the rear cabin door. (Enhanced) Fixed Radio altimeter appearing off above 400ft. Classic 8-way Quick view controls fixed during flight. Fixed fuel pump does not indicate fuel flow from Cold/dark until after mesh switch is engaged. (Enhanced) Improved low resolution text in the Enhanced Edition cockpit. (Enhanced) Fixed missing panel texture for Beacon light. (Enhanced) Fixed HUD not correctly indicating state of flap. Fixed Decision height/Radar altitude setting knob setting does not match panel texture. Fixed fuel pump not indicating fuel flow from Cold/dark until after mesh switch is engaged. GRUMMAN G-21 GOOSE AI copilot completes checklist items for you in Evaluation mode. Attitude Indicator doesn’t provide pitch indications. Fuel drawn from wrong tank when starting Cold & Dark. Part of tooltip description for Magneto Cutoff not localized. Unable to toggle “taxi light” in cockpit–must use key binding. H-4 HERCULES “SPRUCE GOOSE” Camera Quick views fixed Engine 5-8 throttle fixed when using a gamepad ROBIN DR400 Fix Flaps looking misaligned with the wings in neutral position. RYAN NYP “SPIRIT OF ST. LOUIS” Camera Quick views fixed WRIGHT FLYER Camera Quick views fixed WORLD Used more realistic mapping of wave lengths onto RBG values for the ozone layer scattering and the sun color, resulting in more realistic colors of the sky and the lighting in the world.
TOP-GUN MAVERICK Fix for the aircraft carrier wake in Maverick landing challenge that was missing
PERIPHERALS Various peripheral fixes Pause mapping on the Occulus touch left controller switched from Y to Menu button Anti Ice and Aux Fuel Pump LEDs are now working properly with Bravo Throttle Quadrant
SDK Added new Coherent calls SET_CRUISE_ALTITUDE and GET_CRUISE_ALTITUDE to get/set the planned cruise altitude the in game ATC knows about. Fixed crash when “positive_g_limit_flaps_up” parameter is present in [AIRPLANE_GEOMETRY] section in flight_model.cfg, but one of the parameters: “positive_g_limit_flaps_down” or “negative_g_limit_flaps_up” or “negative_g_limit_flaps_down” is missing. See SDK for details. More parameters have been added to the “[VIEWS]” section of the “camera.cfg” file to control the behavior of the external camera (“external_camera_distance”, “external_camera_follows_heading”, “external_camera_follows_velocity”). See SDK for details. Several features have been added and bugs have been fixed for the skid-type landing gear, which can now be retractable. See SDK for details. Added “set_max_compression” and “spring_exponential_fix” parameters to the “[CONTACT_POINTS]” section of the “flight_model.cfg” file. See SDK for details. DEVMODE Debug old: option to disable 30Km mesh display limit “Exponential Constant” parameter is added to the Contact Point serialization (it was missed) Aircraft debug windows stability was improved Fixed context setting of Material Editor when opening Scenery Editor Added Interactive Points state initialization via .FLT files The “gear_locked_on_ground” parameter in the [CONTACT_POINTS] section of the “flight_model.cfg” file now works for SKI and SKID type retractable landing gear. Fixed random crash when exiting the game with DevMode open AssetReload: Reload gltf lod min size Fixed some scenery option not applied during multiple selection Add SpeakerFullName in DialogAction Improved linear memory size formatting in WASM Debug window SIMCONNECT SimConnect Input Events function can now be used while devmode is disabled SimConnect Input Events shouldn’t crash the sim after going back to main menu (or restarting a flight) Ident and region are now two separate fields while requesting Facilities New Data are available through NavData API (Pavement, Vasi, Approach Lights) SIMVARS Added simvars AIRCRAFT_AGL and AIRCRAFT_ALTITUDE_ABOVE_OBSTACLES Aircraft editor Added an option to delete a parameter from the cfg file, or to reset it to its default value Added rotation Gizmo Added new parameters Added expert Mode to the editor. Expert Mode eliminate all constraint on the editor regarding conditional fields, required parameters or array sizes. Only already existing parameters and modified parameters are saved. This mode allows for greater flexibility of the editor but require more knowledge on how to configure an aircraft. Made NdArrays more flexible, avoid writing too much data per line. Fixed ctrl+f focus that would not focus parameters properly Fixed unwanted or incorrect changes when saving a file in the editor VISUAL EFFECTS EDITOR Fixed visual effect instances not being properly stopped and restarted when the Visual Effects Editor is closed New fixed orientation feature New nodes: Abs, Sin, Cos WASM Fix clipping modes (intersect, complement and Xor) for GDI+ API Fix an error in the dependencies of the VFX Aircraft Sample (and rename the sample from “SampleWasmModule” to “VfxWasmModule”) Fix a bug in CommBus API that cause first registration of an event in Wasm to be ignored CommBus : When register an event in Wasm the triplet [eventName, callback, ctx] can be registered only one time per module CommBus : New function added in Wasm : fsCommBusUnregisterOneEvent CommBus : In JS a CommBusListener has been added
submitted by Practical_Look937 to wehatedougdoug [link] [comments]


2024.05.13 18:16 djkalantzhs24 Just finished coding a custom keyboard communication with the Raspberry Pi through i2c.

Hello, I've made a custom keyboard using an Atmega32 mc and i want to send the data to the raspberry pi through i2c connection.
#include  #define NUM_ROWS 5 #define NUM_COLS 10 const int rows[NUM_ROWS] = {A0, A1, A2, A3, A4}; const int cols[NUM_COLS] = {0, 1, 4, 5, 6, 7, 8, 9, 10, 12}; String keyMapNormal[NUM_ROWS][NUM_COLS] = { {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}, {"Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"}, {"A", "S", "D", "F", "G", "H", "J", "K", "L", "DEL"}, {"Z", "X", "C", "V", "B", "N", "M", ";", "'", "ENTER"}, {" ", "SFT", "ALT", " ", "SPC", "SPC", " ", "CTRL", "CTRL"," "} }; String keyMapShifted[NUM_ROWS][NUM_COLS] = { {"!", "@", "#", "$", "%", "^", "&", "*", "(", ")"}, {"Q", "W", "E", "R", "T", "Y", "U", "I", "{", "}"}, {"A", "S", "D", "F", "G", "H", "J", "K", "L", " "}, {"Z", "X", "C", "V", "B", "N", "?", ":", "\"", " "}, {" ", " ", "ALT", " ", "SPC", "SPC", " ", "CTRL", "CTRL", " "} }; bool shiftPressed = false; bool ctrlPressed = false; bool altPressed = false; void setup() { for (int i = 0; i < NUM_COLS; i++) { pinMode(cols[i], OUTPUT); } for (int i = 0; i < NUM_ROWS; i++) { pinMode(rows[i], INPUT); digitalWrite(rows[i], HIGH); } Serial.begin(9600); Wire.begin(); } void loop() { for (int i = 0; i < NUM_COLS; i++) { digitalWrite(cols[i], LOW); for (int j = 0; j < NUM_ROWS; j++) { int val = digitalRead(rows[j]); if (val == LOW) { if (keyMapNormal[j][i] == "SFT") { shiftPressed = !shiftPressed; } else if (keyMapNormal[j][i] == "CTRL") { ctrlPressed = !ctrlPressed; } else if (keyMapNormal[j][i] == "ALT") { altPressed = !altPressed; } else { if (keyMapNormal[j][i] == "DEL") { Serial.println("Delete pressed"); sendDataToSerial(127); } else if (keyMapNormal[j][i] == "ENTER") { Serial.println("Enter pressed"); sendDataToSerial(13); } else if (keyMapNormal[j][i] != " ") { if (!ctrlPressed && !altPressed && !shiftPressed) { Serial.println(keyMapNormal[j][i]); sendDataToSerial(convertToAscii(keyMapNormal[j][i])); } else if (ctrlPressed altPressed) { if (!shiftPressed) { Serial.println("Special key pressed"); } } } } delay(330); } } digitalWrite(cols[i], HIGH); } } int convertToAscii(String character) { if (character.length() == 1) { return character.charAt(0); } else if (character == "DEL") { return 127; } else if (character == "ENTER") { return 13; } else { return -1; } } void sendDataToSerial(int data) { Wire.beginTransmission(0x3F); Wire.write(data); Wire.endTransmission(); } 
This is the keyboards's code. I'm not sure if the whole i2c communication part is right coded. If someone could give it a very quick look and give me any tips, would be great. Next i will have to write some kind of driver for the Raspberry pi to read the I2c data.
submitted by djkalantzhs24 to ArduinoProjects [link] [comments]


2024.05.13 18:15 djkalantzhs24 Some help on custom keyboard communication with the Raspberry Pi through i2c.

Hello, I've made a custom keyboard using an Atmega32 mc and i want to send the data to the raspberry pi through i2c connection.
#include  #define NUM_ROWS 5 #define NUM_COLS 10 const int rows[NUM_ROWS] = {A0, A1, A2, A3, A4}; const int cols[NUM_COLS] = {0, 1, 4, 5, 6, 7, 8, 9, 10, 12}; String keyMapNormal[NUM_ROWS][NUM_COLS] = { {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}, {"Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"}, {"A", "S", "D", "F", "G", "H", "J", "K", "L", "DEL"}, {"Z", "X", "C", "V", "B", "N", "M", ";", "'", "ENTER"}, {" ", "SFT", "ALT", " ", "SPC", "SPC", " ", "CTRL", "CTRL"," "} }; String keyMapShifted[NUM_ROWS][NUM_COLS] = { {"!", "@", "#", "$", "%", "^", "&", "*", "(", ")"}, {"Q", "W", "E", "R", "T", "Y", "U", "I", "{", "}"}, {"A", "S", "D", "F", "G", "H", "J", "K", "L", " "}, {"Z", "X", "C", "V", "B", "N", "?", ":", "\"", " "}, {" ", " ", "ALT", " ", "SPC", "SPC", " ", "CTRL", "CTRL", " "} }; bool shiftPressed = false; bool ctrlPressed = false; bool altPressed = false; void setup() { for (int i = 0; i < NUM_COLS; i++) { pinMode(cols[i], OUTPUT); } for (int i = 0; i < NUM_ROWS; i++) { pinMode(rows[i], INPUT); digitalWrite(rows[i], HIGH); } Serial.begin(9600); Wire.begin(); } void loop() { for (int i = 0; i < NUM_COLS; i++) { digitalWrite(cols[i], LOW); for (int j = 0; j < NUM_ROWS; j++) { int val = digitalRead(rows[j]); if (val == LOW) { if (keyMapNormal[j][i] == "SFT") { shiftPressed = !shiftPressed; } else if (keyMapNormal[j][i] == "CTRL") { ctrlPressed = !ctrlPressed; } else if (keyMapNormal[j][i] == "ALT") { altPressed = !altPressed; } else { if (keyMapNormal[j][i] == "DEL") { Serial.println("Delete pressed"); sendDataToSerial(127); } else if (keyMapNormal[j][i] == "ENTER") { Serial.println("Enter pressed"); sendDataToSerial(13); } else if (keyMapNormal[j][i] != " ") { if (!ctrlPressed && !altPressed && !shiftPressed) { Serial.println(keyMapNormal[j][i]); sendDataToSerial(convertToAscii(keyMapNormal[j][i])); } else if (ctrlPressed altPressed) { if (!shiftPressed) { Serial.println("Special key pressed"); } } } } delay(330); } } digitalWrite(cols[i], HIGH); } } int convertToAscii(String character) { if (character.length() == 1) { return character.charAt(0); } else if (character == "DEL") { return 127; } else if (character == "ENTER") { return 13; } else { return -1; } } void sendDataToSerial(int data) { Wire.beginTransmission(0x3F); Wire.write(data); Wire.endTransmission(); } 
This is the keyboards's code. I'm not sure if the whole i2c communication part is right coded. If someone could give it a very quick look and give me any tips, would be great. Next i will have to write some kind of driver for the Raspberry pi to read the I2c data.
submitted by djkalantzhs24 to RASPBERRY_PI_PROJECTS [link] [comments]


2024.05.13 17:29 RoganDawes Aurga Viewer firmware examination

In case anyone else is curious, I downloaded the Windows application, figured out how it fetches updated firmware for Aurga Viewer, downloaded it and did some analysis.
Firstly, download the Windows 8+ app from https://www.aurga.com/pages/download.
If you don't want to install it, you can extract the installer using 7Zip:
7z e AURGAViewer_Installer_x64_v1.1.0.2.exe
Searching for strings in AURGAViewer.exe gives /fw/latest.img. Then you can fetch that from https://www.aurga.com/fw/latest.img, which is a redirect to https://cdn.shopify.com/s/files/1/0627/4659/1401/files/240427225356.img
Running binwalk on that shows:
binwalk 240427225356.img DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 49152 0xC000 JFFS2 filesystem, little endian 212992 0x34000 Flattened device tree, size: 14249 bytes, version: 17 229376 0x38000 Linux kernel ARM boot executable zImage (little-endian) 254904 0x3E3B8 xz compressed data 255325 0x3E55D xz compressed data 2994176 0x2DB000 Squashfs filesystem, little endian, version 4.0, compression:xz, size: 5222500 bytes, 670 inodes, blocksize: 1048576 bytes, created: 2024-04-27 14:53:58
You can then slice and dice the JFFS2 and squashfs filesystems from the image:
dd if=240427225356.img bs=1 skip=49152 count=$((0x34000-0xc000)) of=jffs dd if=240427225356.img bs=1 skip=$((0x2DB000)) of=squashfs
The squashfs image is easy to examine, just mount it using the loopback:
sudo mount -o loop squashfs /mnt
The JFFS2 filesystem is a little more complicated to unpack, because it expects to be on a MTD device. Fortunately, there is a Python program that will unpack them for you - Jefferson:
pip3 install jefferson
jefferson jffs
writing S_ISDIR etc writing S_ISDIR work writing S_ISDIR etc/config writing S_ISREG etc/config/dnsmasq1.conf writing S_ISREG etc/config/dnsmasq2.conf writing S_ISREG etc/config/dnsmasq_p2p.conf writing S_ISREG etc/config/nvram_ap6256.txt writing S_ISREG etc/config/start_p2p writing S_ISREG etc/config/start_wifi writing S_ISREG etc/config/wpa_supplicant.conf
And there you go. I still need to do a bit more digging, but it appears that the root account has no password (shadow entry is empty), and there should be a serial console active if you crack it open and find the right pins to connect to.
/usbin/setup_gadgets has code for setting up the USB keyboard, mouse and touch interfaces, but I have not yet found the code that actually calls that binary. I have found details of the WiFi card (SDIO BCM4345C5) and the HDMI-CSI2 bridge (Toshiba tc35874x). I have not found out how the firmware can be updated over USB, perhaps there are more apps that set up the UDC. I guess it could be done over bluetooth (i.e. reconfigure the USB device if it sees a poke). I suppose digging further into the Windows executable would provide that detail.
If anyone who actually has an Aurga Viewer would like to crack it open and post high res pictures of the board, that would be amazing.
EDIT: for those that wonder why this might be useful, I have seen folks looking for a way to include the video stream in OBS. This could allow you to add an RTSP stream server to the firmware, that OBS could consume. Have the AURGA present a USB Mass Storage device to the target, backed by a Network Block Device (nbd), which could be used to boot a new/unresponsive device. Replace the vendor's remote desktop interface with VNC. Or possibly make the hardware do other interesting things, limited only by your imagination (and the capabilities of the hardware, of course!)
submitted by RoganDawes to Aurga [link] [comments]


2024.05.13 16:47 bernarbernuli [TOOL] All-in-One tool for Windows. Android TV Tools v3

[TOOL] All-in-One tool for Windows. Android TV Tools v3
It's a tool for use with any Android TV device (Google TV, Nvidia Shield TV, Google Chromecast...). I have improved it keeping in mind the suggestions for new features and the bugs reported in the previous version,
The post I have uploaded it days before in Chromecast because in this subreddit the post was automatically rejected (although I'm not encouraging piracy or anything like that) and recently they have given me a solution to upload it here, so excuse the duplicity of the post for those who are members of both subreddit.
https://youtu.be/CyeFFECeo5Y?si=s7THRcYGLjxYIbvH

What does it do?

It is an All-in-One tool for Windows that makes it easy to do certain things with the TV device, such as:
  • Send files to the TV device, such as MP3, images, PDF, or download to PC files hosted on the TV device.
  • Send texts from PC to TV device. [New]
  • Install applications (Sideload).
  • Install applications in bulk.
  • Uninstall applications from the TV device.
  • Enable/disable applications on the TV device.
  • Package name and version recognition
  • Remove bloatware with Universal Android Debloater.
  • Help generate shortcuts (icons) for installed apps that do not appear in the launcher with this website
  • Install Play Store shortcut to display in your launcher
  • Extract all apps you have installed on the TV device and restore them in bulk when needed (Backup/Restore).
  • List user apps that were installed only from Play Store (and also only outside play store). [New]
  • Manage device permissions
  • Grant write permissions on external USB
  • List packages that have a certain permission available
  • Repair NTP server to synchronize date and time correctly. [New]
  • Apply Custom Settings on the TV device:
    • Hide/Show developer options menu.
    • Enable/disable GPS location
    • Adjust screen timeout
    • Remove advertisements
    • Install alternative ad blocker (AdGuard for Android TV) [New]
    • Rotate TV screen
    • Enable/disable Ambient display
    • Set the timeout to activate the Ambient Screen
    • Set the timeout time to turn off the TV when idle
  • Replace official Google launcher with an alternative launcher (Projectivy Launcher, FLauncher...)
  • Install Google TV launcher for devices that don't have it
  • Replace official YouTube with alternative ad-free YouTube (Stable or Beta) (SmartTube)
  • Method to set any launcher as default
  • Replace default screen saver (Aerial Views screensaver)
  • Help customize remote control buttons (with Button Mapper)
  • Install IP TV apps (Tivimate, kodi, TDTChannels...) [New]
  • Add m3u lists with a URL or with a file in IP TV apps. [New]
  • Automatically start any app (with Launch on Boot). [New]
  • Install Google Play Store on devices that do not have it, e.g. devices of Chinese origin
  • Install alternative shops such as Aurora Store and Aptoide TV
  • Change screen density
  • Change font size.
  • Enter ADB commands via command line.
  • Advanced reboot (Enter Recovery mode and developer mode).
  • View and control the TV device from PC with ScrCpy.
  • Take screenshots and send them directly to the PC.
  • Record the TV device screen and send the video directly to the PC in MP4 format.
  • Optimize the TV device:
    • Increase the speed of animations.
    • Improve performance.
    • Enable the processing speed management system.
    • Delete cache memory.
    • Optimize performance.
    • Close background apps
    • Delete data and cache memory of apps
  • Send from PC predefined or custom voice commands
  • Shortcuts Settings screens
  • Launch installed user applications
  • Wake up the TV device
  • Put the TV device to sleep (stand-by)
  • Check for TV device updates
  • Launch notification curtain
  • View TV device information, such as serial number, build version, Android version, resolution, battery status...
  • History of connected TV devices.
  • Suggest the IP of the TV device if you don't know what it is

Changelog:

  • v3.0 (May 09, 2024) -
    • Added alternative ad blocker (AdGuard for Android TV)
    • Added option to install IP TV apps (Tivimate, kodi, TDTChannels...)
    • Added option to add m3u lists with a URL or with a file in IP TV apps.
    • Added option to repair NTP server (solution to sync date and time correctly)
    • Added option to automatically launch any app.
    • Added option to list uninstalled or hidden apps.
    • Added option to list user apps that were installed only from Play Store (and also only outside play store).
    • Added option to send texts from PC to TV device.
    • Improved option to backup and restore apps (now allows to make several backups and restore the one you want).
    • More improvements in the tool to backup and restore apps (now restores first the apps that were installed from play store)
    • Improved information when connecting (now accurately informs the reason for not connecting)
    • Improved and extended information in case of error installing or uninstalling apps on the device.
    • Improved the option to block advertising.
    • Improved SmartTube installation method.
    • Improved Help option (when typing "help" when connecting) to fix various types of errors.
    • Fixed error when recording screen.
    • Fixed bug when downloading AptoideTV.
    • Fixed "Findstr" bug in some users when connecting.
    • Lots of aesthetic improvements.

Requirements

  • Windows O.S.
  • Have the ADB drivers installed. Here is the link to download them. During installation, make sure to enable the "Add to System Path Environment" option. Here you have more information about ADB drivers. If you don't have ADB drivers installed, they are automatically downloaded and installed as soon as you open Android TV Tools.
  • Connect the TV device to the same Wi-Fi network.
  • On the TV device, go to Settings > system > About and tap "Build Number" several times until you see a message that says "you are now a developer". Then go to Settings > system > developer options and enable "USB debugging".

Considerations

  • The tool is available in English (EN) and Spanish (ES).
  • Tested on Google TV with Chromecast, please give feedback on other TV devices.
  • With Windows 10 and Windows 11 it is fully compatible and functional. Running the tool on Windows 7 or lower is partially functional, as there are some instructions that it does not interpret on older Windows.
  • To find out the IP address of the TV device, just go to Settings > Networks and Internet > "Your Wi-Fi network". Under that option, you will see the IP. It is also in Settings > System > Status.
  • You can use the tool in multitasking mode, i.e. you can for example backup TV device apps while you are applying custom configurations.

Use of Android TV Tools in offline environment

If you are going to run the tool without an internet connection, download Aux Files for Android TV Tools.rar and unzip the file in the same folder as Android TV Tools vXX.exe, as the tool makes use of several auxiliary files such as:
  • cmdmax.exe (for resizing the tool's windows).
  • ScrCpy (for viewing and controlling your TV device from your PC)
  • Universal Android Debloater (to remove bloatware)
In addition, ADB drivers are included, so there is no need to install them to use Antroid TV Tools.
Folder with Android TV Tools.exe + Aux Files

Does Android TV Tools contain Malware?

The tool is 100% clean and safe, of course it does not send any personal information to any remote server, however Antivirus software in recent times has become much more sensitive especially in the engines used in Virustotal.com so some Anti-Virus engines detect Android TV Tools as some kind of Malware I guess because it matches a certain pattern, logically to users of the tool this creates concern especially if it is detected by 39 of 72 engines as happened when launching Android TV Tools v2. The only solution is to contact each of the anti-virus companies via questionnaire or email so that they can reanalyze the file and normally in less than 48 hours you receive a response from the companies informing you that it is indeed a false positive and that they will update the engine. In the case of those 39 engines detecting some type of malware, and after countless emails they were reduced to 4 engines, I must say that these 4 Anti-Virus companies neither answer (neither for good nor for bad) nor update their engines correcting the false positive, these are DeepInstinct, Rising, SkyHigh and TrapMine. It's like hitting a wall, it's very frustrating.
Please, if Android TV Tools is detected as malware/virus by your Anti-virus software or detected by VirusTotal.com engines inform me as soon as possible, I for my part commit myself to be aware of the analysis in VirusTotal.com to avoid alerts in Anti-virus engines. Here is a link to a contact directory of VirusTotal.com antivirus engines if anyone wants to collaborate and send emails to reanalyze the tool, I would appreciate it because this issue of false positives takes a lot of my time.
  • File : Android TV Tools V3_EN.exe
  • Algorithm : MD5
  • Hash : 1884D18FA16AB3DC46EB33599D76F2B7
  • Web virustotal.com

Where to download?

- Android TV Tools v3
- Aux Files for Android TV Tools (See "Use Android TV Tools in offline environment")

Method

  1. Download and unzip in a folder the file from the "Where to download" section.
  2. Make sure you meet all the points in the "requirements" section.
  3. Locate the IP address of the TV device, as explained in the "considerations" section.
  4. Run Android TV Tools and enter the IP address.
  5. A notification will probably appear on the TV device asking "Allow USB debugging?", select "Always allow from this computer" and re-enter the IP address in the tool.
  6. In the tool, choose a function to run and follow the instructions on the screen.
https://preview.redd.it/pqdwxvraf70d1.png?width=618&format=png&auto=webp&s=3ded50c1790fa4dee8be8526722e9d7dd96ead4a

To-Do

  • Improve optimization tool with more optimization tasks (any suggestions from this thread for Samsung Galaxy devices or this thread for Pixel devices?).
  • Porting code to Linux and Mac via Java or Python.
Android TV Tools
Main menu
Voice commands and more
Replace launcher, youtube and more
I share this tool for free, to code the tool as it is now having taken me quite some time, I just ask for some feedback for the one who download it and try it.
If you are going to use it, please comment what you think or what bugs you see or what new features you suggest. Any opinion is interesting.
submitted by bernarbernuli to AndroidTV [link] [comments]


2024.05.13 15:58 Dioscur1 ESPNOW: Peer interface is invalid.

I'm new to ESP and I'm making a remote controlled car with DOIT ESP32 DevKit V1 as both a controlletransmitter and the receiver. The transmitter shows of an error of:
ESPNOW: Peer interface is invalid 
Here is the code for my transmitter if anyone is wondering.
#include  #include  #define X_AXIS_PIN 32 #define Y_AXIS_PIN 33 #define SWITCH_PIN 25 uint8_t receiverMacAddress[] = {0xD0,0xEF,0x76,0x46,0x8B,0x10}; struct PacketData { byte xAxisValue; byte yAxisValue; byte switchPressed; }; PacketData data; int mapAndAdjustJoystickDeadBandValues(int value, bool reverse) { if (value >= 2200) { value = map(value, 2200, 4095, 127, 254); } else if (value <= 1800) { value = map(value, 1800, 0, 127, 0); } else { value = 127; } if (reverse) { value = 254 - value; } return value; } void OnDataSent(const uint8_t *mac_addr, esp_now_send_status_t status) { Serial.print("\r\nLast Packet Send Status:\t "); Serial.println(status); Serial.println(status == ESP_NOW_SEND_SUCCESS ? "Message sent" : "Message failed"); } void setup() { Serial.begin(115200); WiFi.mode(WIFI_STA); if (esp_now_init() != ESP_OK) { Serial.println("Error initializing ESP-NOW"); return; } else { Serial.println("Succes: Initialized ESP-NOW"); } esp_now_register_send_cb(OnDataSent); // Register peer esp_now_peer_info_t peerInfo; memcpy(peerInfo.peer_addr, receiverMacAddress, 6); peerInfo.channel = 0; peerInfo.encrypt = false; // Add peer if (esp_now_add_peer(&peerInfo) != ESP_OK) { Serial.println("Failed to add peer"); return; } else { Serial.println("Succes: Added peer"); } pinMode(SWITCH_PIN, INPUT_PULLUP); } void loop() { data.xAxisValue = mapAndAdjustJoystickDeadBandValues(analogRead(X_AXIS_PIN), false); data.yAxisValue = mapAndAdjustJoystickDeadBandValues(analogRead(Y_AXIS_PIN), false); data.switchPressed = false; if (digitalRead(SWITCH_PIN) == LOW) { data.switchPressed = true; } esp_err_t result = esp_now_send(receiverMacAddress, (uint8_t *) &data, sizeof(data)); if (result == ESP_OK) { Serial.println("Sent with success"); } else { Serial.println("Error sending the data"); } if (data.switchPressed == true) { delay(500); } else { delay(50); } } 
submitted by Dioscur1 to esp32 [link] [comments]


2024.05.13 13:28 ihaveaninja battle.net and WoW close if I swap monitor input

Sorry for asking this question, but it's one of those things I don't even know how to google for.
I have a Linux box on my office, with latest Ubuntu LTS, I didn't do anything fancy to it, just testing out how viable it's on long term swap my main gaming pc to Linux. This box connects via HDMI to a monitor, which has a laptop connected to the display port. Whenever I swap the monitor's input so I can look at something on the laptop, when I swap back WoW and battle.net have closed with no error message.
On the "show logs" option in lutris I can see this:
 WARNING: radv is not a conformant Vulkan implementation, testing use only. X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 222 Current serial number in output stream: 222 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 5290 Current serial number in output stream: 5290 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 205 Current serial number in output stream: 205 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 205 Current serial number in output stream: 205 wine client error:170: write: Bad file descriptor wine client error:278: write: Bad file descriptor WARNING: radv is not a conformant Vulkan implementation, testing use only. Monitored process exited. Exit with return code 0 
Can someone kindly point me in the right direction? Thank you.
submitted by ihaveaninja to linux_gaming [link] [comments]


2024.05.13 13:18 AustinBike Windows Activation and VMs - Parallels and UTM

I run everything on Macs currently after years of Windows. I still had Parallels running on my iMac emulating a Windows 10 PC, but I was several versions of Parallels behind and decided that since I use it so rarely that I would be better off switching to UTM ($10 for all my systems for life vs. $60 per system for Parallels.)
I only use the Windows VM once every 3-4 months for the odd utility that I need to access, never any real work. I just ran the Parallels VM a couple weeks ago to handle a task, everything was fine.
I was able to get a Windows 10 VM built in UTM and it is running, but when I try to activate it using my (legitimate Windows serial#) I kept getting errors saying activation could not complete.
As I recall in the past (it has been years), the Windows activation looks at the underlying hardware and I am guessing that between the two VMs it looks different enough that Windows will not let me "undo" the old activation and reactivate this new VM.
I have paid MSFT for the licenses so everything is above board. I am not interested in anyone pointing me to some kind of cracked or shady activation code, I want to use mine.
in the past, you had to let the system sit for ~30 days or so if you wanted to move licenses between system. Is this still the case, can I just leave this alone for a few months and try again?
Or, is there a way to activate that does not require me to access the old VM as I wiped the system clean (for performance) and just installed a fresh OS as the system was running on 4-5 system updates prior and was a bit sluggish. I don't want to bog down my shiny new install if I can help it.
Can I use the automated phone system to activate?
Any suggestions?
submitted by AustinBike to WindowsHelp [link] [comments]


2024.05.13 12:59 Aswinth_Raj Understanding the MAX7219 8x8 LED Matrix Module

Understanding the MAX7219 8x8 LED Matrix Module
The MAX7219 8x8 LED matrix module is a compact and highly versatile display solution widely embraced by electronics enthusiasts and developers engaged in microcontroller-based projects. This module integrates the MAX7219 LED driver IC, streamlining the task of connecting and controlling multiple LEDs. Let's delve into its design, functionality, and troubleshooting guidelines:
MAX7219 8x8 LED Matrix Module
Design Overview:
At the heart of the MAX7219 module lies the MAX7219 LED driver IC, which acts as the central controller for the LED matrix. This IC facilitates the control of up to 64 individual LEDs arranged in an 8x8 grid. By individually addressing each LED, the module can display a diverse range of characters, symbols, and animations.
Functionality Highlights:
  • Minimal Pin Requirement: With only three control signals needed, the MAX7219 module minimizes the number of pins required for interfacing with microcontrollers, such as Arduino and Raspberry Pi.
  • Daisy-Chaining Capability: Its daisy-chainable feature enables seamless expansion of the display without necessitating additional microcontroller pins. Multiple modules can be interconnected, allowing for the creation of larger and more intricate displays.
  • Simple Serial Interface: Operating on a straightforward serial interface, the MAX7219 module is compatible with a wide array of microcontrollers. This simplicity enhances its usability across various projects.
  • Individual LED Control: Each of the 64 LEDs within the 8x8 matrix can be independently controlled, offering flexibility in displaying customized content and animations.
  • Adjustable Brightness: Supporting adjustable brightness levels, the module can adapt to different lighting conditions, ensuring optimal visibility in diverse environments.
  • Low Power Consumption: Its efficient power management makes the MAX7219 module suitable for applications requiring low energy consumption, including portable devices and battery-operated projects.
Troubleshooting Tips:
  • Display Output Issues: Ensure correct power supply voltage and verify wiring connections. Review code initialization and control to rectify display anomalies.
  • Dim or Flickering Display: Experiment with brightness adjustments via software commands. Check power supply adequacy, especially when chaining multiple modules.
  • Inconsistent Display Across Modules: Uniformly send initialization and control signals to all modules in a daisy-chain setup. Inspect connectors and cables for faults or looseness.
  • Garbled or Incorrect Output: Confirm secure and accurate configuration of data-in and data-out connections. Match SPI communication settings with MAX7219 requirements.
  • Programming Issues: Utilize correct libraries or drivers tailored for the MAX7219. Adjust refresh rates in code to mitigate flickering or instability.
  • Cascade Failure: Address problems in individual modules promptly to prevent cascading effects on subsequent modules.
  • By methodically addressing these troubleshooting steps, most issues encountered with the MAX7219 LED matrix module can be diagnosed and resolved effectively.
The MAX7219 8x8 LED matrix module offers a potent combination of simplicity, versatility, and efficiency, making it a favored choice for a myriad of DIY projects, digital signage applications, and interactive displays. Its compact form factor, low power consumption, and ease of integration with popular microcontrollers underscore its value proposition in the realm of electronics prototyping and innovation. With a clear understanding of its design principles, functionality, and troubleshooting techniques, enthusiasts can leverage the MAX7219 module to realize captivating and dynamic visual experiences in their creations. For detailed technical specifications and mechanical drawings, refer to the MAX7219 datasheet available here.
submitted by Aswinth_Raj to components101 [link] [comments]


2024.05.13 11:45 webuyequipment Protect Your Heavy Equipment From Theft Equipment Planet Equipment

Protect Your Heavy Equipment From Theft Equipment Planet Equipment
How to protect your heavy equipment from theft? The number of instances of thefts of heavy equipment in the United States is still increasing, despite the persistent efforts of enterprises involved in construction and law enforcement. Through the National Crime Information Center of the FBI, more than 11,574 different pieces of heavy machinery were reported stolen in the year 2016. (NCIC). You, as the owner of heavy equipment, and the operators who work on your heavy equipment have a number of options available to prevent theft of your heavy equipment. There is no such thing as a risk-free place of employment. But if you follow these guidelines, you can prevent theft and vandalism at your job and safeguard the important construction equipment you have.
https://preview.redd.it/ada6l2xc060d1.png?width=310&format=png&auto=webp&s=5646d7bf38aee8b911942a463e1111576b935e81
Maintain a Secure Site
Your understanding of the workplace is the first line of protection you have against the theft of devices whenever you begin a new project. For instance, if you are going to leave your heavy equipment in the work area overnight, you should make sure that the area is clean and that it is easy to see from the street. This will deter burglars. Additionally, it installs safety measures at the construction site, such as an alarm system or video surveillance, in order to monitor the construction site both during working hours and outside of those hours. When the job is done, the operator should be reminded to close the cab door and all of the windows before leaving. You shouldn’t overlook these instructions. You should not leave the machine keys behind. Additional preventative measures you can take to safeguard your workplace include the following:
Determine whether there are any other businesses or vendors operating in the area.
Add a chain gate or gate
Warnings and a no entry sign should be posted.
Put a cap on the amount of persons who can get in.
Install workplace safety lighting or make use of a beacon to increase visibility in the facility.
If you have a huge office with valuable equipment, you should think about hiring a security agency.
If you are unsure of your workplace or are concerned about the safety of your equipment, look for a more secure location to store your equipment that is within a reasonable distance, either by car or by foot, from your place of employment. There is a possibility that we have more labor ahead of us, but if we want to avoid theft, we will have to pay the price.
  1. Know Your Equipment It looks straightforward. How knowledgeable are you about the necessary tools for each project? Another method for decreasing the chance of theft is to be familiar with the heavy equipment’s manufacturer, model number, serial number, and date of purchase, and to record all of this information in a register. Get a picture of each machine and make sure to include as much detail as possible. Ask your equipment dealer where the serial label is located on your machines if you are unsure where it is located on them.
Make sure that your heavy equipment has been registered with the National Register of Equipment (NER) or the National Crime Information Center (NCIC) to maximize your chances of recovering it in the event that it is stolen. The Nationwide Equipment Register (NER) is a national database consisting of heavy equipment and asset files that provides facility owners and insurers with assistance in the process of repairing equipment.
  1. Utilize Fleet Tracking Technologies
It is now more likely than ever before that heavy equipment will be outfitted with onboard float monitoring systems for the purpose of real-time tracking and reporting. This will serve as an extra layer of security. Telematics systems can provide a deeper understanding of when, where, and how construction machinery is utilized. The longitude and latitude coordinates of the place are provided, and the mapping program will automatically convert those coordinates to the closest address.
In addition to tracking the location of a physical machine, many equipment manufacturers offer geofencing or time-fencing, which helps business owners or fleet managers control unplanned use and track machines in the event of theft or graffiti. Both of these features are available from the manufacturer. You can use a geofence to create virtual GPS borders, and if the machine is running outside of those bounds, you will be warned by email or text message. You have the option to set up the geofence yourself. In addition, a number of the technologies that are used for floating monitoring make use of a terminal that is located within the machine in order to gather and wirelessly send data through the use of a mobile or satellite service. After that, the data from the engine is sent to a website where you, your operators, and your equipment dealer can verify the performance of the engine, as well as the hours worked, the fuel consumption, and any engine failures. A computer or mobile device can also be used to monitor problems and warning codes, as well as check the temperature of the engine or hydraulic oil, and check for leaks.
  1. Protocol for Train Operators Working on Site
At each construction site, it is absolutely necessary to provide the operator of the equipment with instructions regarding the protocol that is to be followed on-site. Then, once each move is complete, your operators will park the equipment in its new location. After that, make sure the door to the cab is shut and locked, and register each piece of equipment in accordance with the procedure that is currently in place. Some owners will instruct their drivers to park the vehicles in a circle, with the most compact vehicles in the middle. The use of this method lowers the possibility of theft.
  1. Notify Authorities of the Theft of Heavy Equipment
According to the National Insurance Crime Bureau, the cause for fully losing heavy equipment is due to the fact that late complaints of stolen equipment were filed. There is a larger possibility of recovering the stolen device if you and your operators report the theft as quickly as possible. Take the following precautions if you find yourself to be the victim of a theft:
Use the technology that tracks ships to find it.
Make a report to the authorities about this, and be sure to include specifics about the missing machine, such as its dimensions, color, and make.
Start filing a complaint as soon as you log in to your insurance provider’s website.
Please inform NER about your machine.
In the construction industry, one of the most aggravating and expensive problems is theft of equipment. To assist in the reduction of theft and vandalism, it is important to both devise a thorough plan to deter theft and maintain a state of constant alert.
submitted by webuyequipment to BuyYourEquipment2 [link] [comments]


2024.05.13 10:53 KingofSumerandAkka How to Retrieve Your Honda Radio Code Online

Learn the steps to easily retrieve the radio code for your Honda car online, ensuring that you can access and enjoy all your favorite stations.Content
If you're a Honda owner, you might find yourself in a situation where your radio is locked and asking for a code. This is a common feature in Honda vehicles; it's a security measure that kicks in whenever your car battery is disconnected or replaced. The radio locks itself to prevent theft and will require you to enter a specific code to unlock it and restore its functionality. If you find yourself in this predicament, don’t worry. Retrieving your Honda radio code online can be done by following these straightforward steps.

Step 1: Gather the Required Information

Before you can retrieve your radio code, you need to collect some essential information from your vehicle and its documentation:

Step 2: Visit the Honda Radio Code Retrieval Site

Once you have all the necessary information, the next step is to visit Honda's official website dedicated to retrieving radio codes:

Step 3: Enter Your Information

Input all the required details in their respective fields on the form provided on the Honda Radio & Navigation System microsite. Ensure that all the information is accurate to avoid any delays or problems in retrieving your code.

Step 4: Submit the Form

After entering all the necessary details, submit the form. The website should then process your information. If all your details are correct and match the Honda database, you should be displayed your radio code.

Step 5: Input the Radio Code

Once you have your radio code, turn on your Honda radio. The radio’s display should show “Code” or a similar message indicating that it is locked. Using the radio preset buttons, enter the code you received. After the correct code is entered, your radio will unlock, and its functionality will be restored.

Additional Tips and Troubleshooting

If you encounter problems while trying to retrieve your radio code online, consider these tips:
Retrieving your Honda radio code doesn't have to be a complicated affair. By following these steps, you can quickly get your radio up and running again. Always keep your radio code in a safe place after retrieval; you'll need it again if the battery is disconnected or replaced in the future.
submitted by KingofSumerandAkka to HondaRadioCodes [link] [comments]


2024.05.13 09:06 Krumpis101 Help with DFPlayer Mini Needed!!!

I have an Arduino Uno R4 wifi and I am trying to connect it to a DFPlayer Mini with onboard storage, however I can't get the code to work for the life of me. I just want it to turn on when I upload the code to the Arduino. I have RX wired to Digi 8 ,and TX to Digi 9. I have been using Chat-GPT to help me write the code, but it has been struggling.
here is the code:
#include  #include  SoftwareSerial mySerial(8, 9); // RX, TX on digital pins 8 and 9 DFRobot_DF1201S mp3; // Create the MP3 player object void setup() { Serial.begin(115200); // Start the hardware serial for debug info mySerial.begin(115200); // Initialize SoftwareSerial on specified pins // Check if MP3 module initialization succeeds if (!mp3.begin(mySerial)) { Serial.println("DF1201S initialization failed!"); // Error message if initialization fails while (true); // Stop everything if it fails to initialize } Serial.println("DF1201S is ready."); // Confirmation message if initialization is successful mp3.setVol(20); // Set volume to a moderate level mp3.start(); // Start playback assuming 'start' is the correct function from library } void loop() { // Your code for additional functionality or monitoring can go here } 
here is a line from the error message:
invalid conversion from 'char' to 'const char*' [-fpermissive]
playMode = str[10];
^
exit status 1
Compilation error: exit status 1
submitted by Krumpis101 to arduino [link] [comments]


2024.05.13 09:04 Aaron-Junker How do I link core assembly using the new PersistedAssemblyBuilder API

I try to use .NET 9 to create a .NET assembly/program programatically via the new emit and PersistedAssemblyBuilder api.
My test code looks like the following:
``` PersistedAssemblyBuilder assemblyBuilder = new(new AssemblyName("HelloWorldTest"), typeof(object).Assembly); TypeBuilder typeBuilder = assemblyBuilder.DefineDynamicModule("HelloWorldTest").DefineType("HelloWorldTest", TypeAttributes.Public TypeAttributes.Class);
MethodBuilder methodBuilder = typeBuilder.DefineMethod("Main", MethodAttributes.Public MethodAttributes.Static, typeof(void), [typeof(string[])]);
ILGenerator ilGenerator = methodBuilder.GetILGenerator();
Assembly loadedAssembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(typeof(Console).Assembly.Location);
ilGenerator.Emit(OpCodes.Ldstr, "Hello, World!"); ilGenerator.Emit(OpCodes.Call, loadedAssembly.GetType("System.Console").GetMethod("WriteLine", [typeof(string)])); ilGenerator.Emit(OpCodes.Ret);
typeBuilder.CreateType();
MetadataBuilder metadataBuilder = assemblyBuilder.GenerateMetadata(out BlobBuilder ilStream, out BlobBuilder fieldData); PEHeaderBuilder peHeaderBuilder = new(imageCharacteristics: Characteristics.ExecutableImage);
ManagedPEBuilder peBuilder = new( header: peHeaderBuilder, metadataRootBuilder: new MetadataRootBuilder(metadataBuilder), ilStream: ilStream, mappedFieldData: fieldData, entryPoint: MetadataTokens.MethodDefinitionHandle(methodBuilder.MetadataToken));
BlobBuilder peBlob = new(); peBuilder.Serialize(peBlob); using FileStream fileStream = new("HelloWorldTest.exe", FileMode.Create, FileAccess.Write); peBlob.WriteContentTo(fileStream); ```
When executing the generated executable I get the dollowing error:
Unhandled Exception: System.IO.FileNotFoundException: The file or assembly “System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e” or one of its dependencies was not found. The system cannot find the specified file.
How do I reference the core assembly correctly?
submitted by Aaron-Junker to dotnet [link] [comments]


2024.05.13 07:55 Porygon-Bot Scarlet and Violet Daily Casual Trade Thread for 13 May 2024

Welcome to the /pokemontrades Scarlet and Violet Daily Casual Trade Thread!

This thread is for competitive/casual trades, and tradebacks, in Scarlet and Violet.
Do not trade, or tradeback, shiny or event Pokémon or event serial codes in this thread.
- - -

Subreddit trading rules do apply!

No trading of hacked, cloned, illegal, or otherwise illegitimate Pokémon will be tolerated under any circumstances. Definitions of these terms are available in the Legitimacy Policy.

Please keep in mind:

- - -

- - -
Stay alert, and happy trading!
submitted by Porygon-Bot to pokemontrades [link] [comments]


2024.05.13 07:07 Keeper_of_the_H [WTS/WTT] Send-It Sunday: HK VP 70 Mags, G19Gen3 Magwells (Agency & Magpul), Med Pouches, Knives, Video Games, Movies

Timestamp: https://imgur.com/1lOe6l8
Hey all, back with some Send-it Sunday goodness:
GUN STUFF
KNIVES
MOVIES/TV
VIDEO GAMES
TRADE INTERESTS:
And, that's all I've got! All prices include shipping, like they should. You must speak up in the comments to call dibs! Once you do, we can switch to PM, and go from there. Thanks for looking!
submitted by Keeper_of_the_H to GunAccessoriesForSale [link] [comments]


http://swiebodzin.info