Skip to content

Commit

Permalink
Merge pull request #16 from fhoedemakers/wavashareWII
Browse files Browse the repository at this point in the history
Added wii classic support for waveshare RP2040
  • Loading branch information
fhoedemakers authored Sep 14, 2024
2 parents 10ec750 + 27597ba commit d8eac58
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,28 @@ Binaries are at the end of this page.

# Release notes

## v0.10

### Features

- Wii-classic controller now works with WaveShare RP2040-PiZero. [#64](https://github.com/fhoedemakers/pico-infonesPlus/issues/64)

For this to work you need a [Adafruit STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets](https://www.adafruit.com/product/4397), a [Adafruit Wii Nunchuck Breakout Adapter - Qwiic](https://www.adafruit.com/product/4836) and a [Wii-classic controller](https://www.amazon.com/s?k=wii-classic+controller)

Connections are as follows:

| Nunchuck Breakout Adapter | RP2040-PiZero |
| ---------------------- | ------------ |
| 3.3V | 3V3 |
| GND | GND |
| SDA | GPIO2 |
| SCL | GPIO3 |


### Fixes

- none

## v0.9

### Features
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ elseif ( HW_CONFIG EQUAL 4 )
set(NES_DATA_1 "12" CACHE STRING "Select the Data GPIO pin for second NES controller")
set(NES_LAT_1 "11" CACHE STRING "Select the Latch GPIO pin for second NES controller")
set(NES_PIO_1 "pio1" CACHE STRING "Select the PIO for second NES controller")
set(WII_SDA "-1" CACHE STRING "Select the SDA GPIO pin for Wii Classic controller")
set(WII_SCL "-1" CACHE STRING "Select the SCL GPIO pin for Wii Classic controller")
set(WII_SDA "2" CACHE STRING "Select the SDA GPIO pin for Wii Classic controller")
set(WII_SCL "3" CACHE STRING "Select the SCL GPIO pin for Wii Classic controller")
endif ( )

# --------------------------------------------------------------------
Expand Down

0 comments on commit d8eac58

Please sign in to comment.