Code Monkey home page Code Monkey logo

pic32gc's Introduction

PIC32GC

Read game controllers and joysticks connected to a PIC32MX550F256L. SPI3 clock at 1MHz, connects to an OLED display module, 128x32 pixel, based on the SSD1306 chip.

Connections

OLED display connections:

Signal Chip Name Pin Chip Name Pin
SCK3 PIC32 RF13/SCK3 39 SSD1306 SCK 3
MOSI3 PIC32 RG8/SDO3 12 SSD1306 SDA 4
SS3 PIC32 RA0 17 SSD1306 CS 7
DC PIC32 RG9 14 SSD1306 DC 6
RES PIC32 RE8 18 SSD1306 RES 5

Digital pin connected to GameCube controller:

  • GC RA4 pin 60 via diode, to pull signal line down
  • GC RA5 pin 61, direct, to sense state of signal line

Debugging LEDs on dev board:

  • LED1 RE6 pin 4
  • LED2 RE7 pin 5
  • LED3 RE1 pin 94
  • LED4 RA7 pin 91
  • LED5 RA6 pin 92

PIC32 pin numbers are for the 100-pin package.

LEDs light when the pin is pulled LOW.

PIC32 Toolchain

MPLAB X V3.45 and 'xc32' V2.15. These are quite old versions now, so I really ought to upgrade!

PIC32 Programmer

Microchip ICD3. Other programmers should work, e.g. ICD4 or PICkit4.

pic32gc's People

Contributors

anachrocomputer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.