Code Monkey home page Code Monkey logo

odroid-go-ili9342's Introduction


Buy Us A Coffee

It's Not Mandatory, But Much Appreciated

We work tirelessly to bring you the best Odroid GO and Retro ESP32 user experience.

Everything we provide is free to use, Feedback is always welcome.

If you like what you see, and feel like giving us additional support, we accept PayPal donation of $1.99 USD, that's like, 1 coffee. But fee free to change the amount. We won't shy away!

Thank You Retro ESP32 Team


Retro ESP32

An ESP32 Wrover based Game Boy Pocket

This repo contains source code, libraries for Arduino IDE and Odroid GO display drivers

Arduino Libraries

ILI9342 specific libraries

The standard Arduino libraries for both ODROID-GO and Adafruit TFT with modifications specific to the ILI9342 display driver from Ilitek

Installation

  1. Place the folders / libraires found in the Arduino Libraries folder into your Arduino libraries location on your local machine
  2. Restart Arduino IDE

Adafruit_ILI9342

You can sipmly run the examples as they are. You can assign your GPIO pins as you wish! Below is a standard example.

#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9342.h"

#define _miso 19	// Not connected
#define _mosi 23  // TFT MOSI
#define _sclk 18  // TFT SCK/CLK

#define _cs   5   // TFT CS
#define _dc   21	// TFT DC
#define _led	14

#define _rst  17  // ESP RST to TFT RESET

// Use hardware SPI
Adafruit_ILI9342 tft = Adafruit_ILI9342(_cs, _dc, _rst);

ODROID-GO

GPIO pins are default Odroid Go build. Be sure to set your TFT hardware accordingly

TFT

Function Pin
VCC 3V3
GND GND
MISO 19
MOSI 23
SCK 18
CS 5
DC 21
RESET RESET /EN
LED 14

SD CARD

Function Pin SD CARD (Common Names)
VCC 3V3 VDD / VCC
GND GND GND
MISO 19 DO / DAT0
MOSI 23 DI / CMD
SCK 18 SCLK / CLK
CS 22 CS / CD / DAT3

Odroid Go

Get Odroid Firmware running an ILI9342

There are multiple folders in the Odroid Drivers folder, please use as necessary

odroid-go-firmware

This extends the display drivers from OtherCrashOverride's firmware for the Odroid GO

Overwrite the following files in your local Odroid Firmware main folder

/main/odroid_display.h
/main/odroid_display.c

Compile your firmware.

make

Compile and flash firmware.

make flash

odroid-go-common

If you are building application / firmware on top of odroid-go-firmware you will most likely be using the odroid-go-common linked folder as in example of the go-play firmware or emulators

Overwrite the following files in your local Odroid Firmware components/odroid folder

/main/odroid_display.h
/main/odroid_display.c

Examples

Arduino Sketch Gaming Hardware NES Emulator

odroid-go-ili9342's People

Contributors

32teeth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

odroid-go-ili9342's Issues

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.