[NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Various user-contributed guides for hardware-related things
User avatar
Lphillimore
Posts: 983
Joined: Sat Jan 07, 2017 7:03 pm
Location: Perth, WA
Has thanked: 783 times
Been thanked: 512 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by Lphillimore » Sun Mar 26, 2017 11:04 am

Does anyone know the code to reduce 'bounce' like you can on the Teensy?

Have tripple checked my wires and to be honest the double presses are very minimal but somewhat inconvenient if my press is soft.

jermzz
Posts: 253
Joined: Sat Jun 18, 2016 7:40 pm
Has thanked: 43 times
Been thanked: 89 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by jermzz » Fri Mar 31, 2017 9:56 am

Would a thumbstick like this one work? It says it's two 10k potentiometers like the psp stick, it just looks like it has an extra ground and 5v pin.

https://www.adafruit.com/products/2765

Thanks!

chewyinit
Posts: 2
Joined: Mon Jan 30, 2017 2:28 am

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by chewyinit » Fri Mar 31, 2017 11:06 pm

Hey Sota, i love the work youre doing. I'm not sure what ive done wrong though, as whenever i hit 'upload' it comes up with 'joystate-t does not have a state type' or 'output was not declaired in this scope'.

Any ideas what in doing wrong? thanks in advance.

dcherof
Posts: 5
Joined: Wed Feb 08, 2017 9:08 pm

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by dcherof » Sun Apr 09, 2017 8:33 pm

chewyinit wrote:
Fri Mar 31, 2017 11:06 pm
Hey Sota, i love the work youre doing. I'm not sure what ive done wrong though, as whenever i hit 'upload' it comes up with 'joystate-t does not have a state type' or 'output was not declaired in this scope'.

Any ideas what in doing wrong? thanks in advance.
Ive been having this same problem. I am using a mac. any help would be greatly appreciated. Thanks

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by vnman » Tue Apr 18, 2017 2:02 pm

the arduino ide version have to be 1.0.5r2 as mentioned in the guide.

dcherof
Posts: 5
Joined: Wed Feb 08, 2017 9:08 pm

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by dcherof » Tue Apr 18, 2017 4:11 pm

I don't think that version is offered for Mac users sadly. has anyone used this code successfully using a mac version of the arduino software, and if so what did you do?

User avatar
correia5022
Posts: 201
Joined: Mon Dec 05, 2016 12:32 am
Location: Portugal
Has thanked: 17 times
Been thanked: 38 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by correia5022 » Tue Apr 18, 2017 7:38 pm

Hey guys

One quick question. After uploading the code, my arduino leonardo stays with the same name. Shouldnt be like a controller or io device or something like that?
Now is just connecting the buttons to the pins and its done?
________________________________________
Starting on electronics :)
My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by vnman » Thu Apr 20, 2017 1:29 am

dcherof wrote:
Tue Apr 18, 2017 4:11 pm
I don't think that version is offered for Mac users sadly. has anyone used this code successfully using a mac version of the arduino software, and if so what did you do?
The link for download is also on the first page -

https://www.arduino.cc/en/Main/OldSoftw ... ases#1.0.x

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by vnman » Thu Apr 20, 2017 1:33 am

Downloaded this -
Downloads for Helder's AIO, has modified sketch and Hex Files for USBasp:
Hex Files
@Helder - which hex file is for AIO version 1.4, that supports analog stick?

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2690
Joined: Thu May 05, 2016 8:33 am
Location: Fall River, MA
Has thanked: 1382 times
Been thanked: 3041 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by Helder » Thu Apr 20, 2017 6:12 am

The one that says SotaStick1.hex is for 1 analog stick and will work with the 1.4 or any AIO that has the Analog stick solder holes.
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests