From c7a5c9c3a56de2493efa3477abf5954702e03dfb Mon Sep 17 00:00:00 2001 From: Jack Massey Date: Thu, 14 Mar 2019 11:34:21 +1000 Subject: [PATCH] Updated README with usage This library has the pins hardcoded and so they are recorded in the README. Also added the additional tweaks done by Massey101. --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/README.md b/README.md index 5d9220e..aa406db 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,50 @@ and parts of https://github.com/adafruit/Adafruit-GFX-Library/ Tweaks ------ +By LongHairedHacker: + * Uses my own bitmap format for fullcolor and monochrome bitmaps * Faster line drawing based on: https://github.com/adafruit/Adafruit-GFX-Library/pull/36 * Faster font rendering based on https://github.com/adafruit/Adafruit-GFX-Library/issues/69 * Refactored draw_char function that does not load glyph struct twice + +By Massey101: + +* Added support for bitmap clipping +* Added JAYCAR screen for XC4629 support + + +Usage +----- + +Connect the display to the following PINS: + +JAYCAR screen and ATMEGA328: ++--------+--------+ +| Screen | AVR | ++--------+--------+ +| VCC | 5V | ++--------+--------+ +| GND | GND | ++--------+--------+ +| CS | PB2 | ++--------+--------+ +| RESET | PD7 | ++--------+--------+ +| A0 | PD6 | ++--------+--------+ +| SDA | PB3 | ++--------+--------+ +| SCK | PB5 | ++--------+--------+ +| LED | 3.3V | ++--------+--------+ + + +1. Set the environment variables for: + - `AVRMCU` - Your avr chip + - `F_CPU` - Your clock speed + - `ISPPORT` - programming device +2. Modify `include/st7735.h:st7735_type` to your screen. (I have no idea how to + figure out which is which) +3. Run `make flash`