Temp controlled cooling fan and inverted analog stick.

Having trouble with your GBZ build? Ask your questions here!
Posts: 17
Joined: Sat Aug 31, 2019 2:46 am

Re: Temp controlled cooling fan and inverted analog stick.

Post by Michael8t1 » Fri Jan 24, 2020 5:16 pm

HoolyHoo wrote:
Mon Oct 30, 2017 9:49 am
DeRock89 wrote:
Mon Oct 30, 2017 9:35 am
HoolyHoo wrote:
Mon Oct 30, 2017 7:08 am

Power the fan with the 5v pin going through a transistor that is connected to a GPIO pin. A script would control the fan by toggling the GPIO at whatever temps are coded.

As far as the analog sticks, I assume you can invert the control within the arduino code.

Hope this helps. ;)
I figured I could invert it in Retropie, just push up for down, and down for up during configuration. I want to understand why this is an issue and how to fix it from a better solution then just changing the Retropie config. It confounds me that changing the orientation of the analog stick produced the same result. Logically to me, if up is down and down is up, if it's rotated 180 degrees, then down will be down, and up will be up. Why did this do nothing?

My experience with arduino coding is none existent. I just followed sotas tutorial. How do I change the code to fix this?
The answer may lie in what emulator you are using for Nintendo 64. I believe the default one (which has the best performance) isn’t a libretro emulator. Libretro emulators play nice with ES as they use RetroArch for the keyconfigs but unfortunately performance suffers with N64.

As far as the Arduino code, I haven’t looked at it to be able to answer that for you, sorry.

Edit: take a look at this part of his code.
Edit the axis you need inverted by changing the 0 to a 1.
Where do i find this code? I need to invert my X and Y axis.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest