diff --git a/CHANGELOG.md b/CHANGELOG.md index 384a8a4..3c9791c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index bc4c579..5b65d00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ( ) # --------------------------------------------------------------------