Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
mcc_generated_files
nbproject
Makefile
README.md
VGA.c
device_config.mcc
font.h
main.c
pivot.py
rfont.c
rfont.h
rotate.py
rrfont.c
vga.h

README.md

VGA Display

The Basic Idea

  • Driving a VGA display directly from the Curiosity board.

  • You will need:

    PIC | VGA :---------: | :---------: Pin 11 - RB6 | Pin 2 - Green Pin 12 - RB5 | Pin 13 - HSYNC Pin 13 - RB4 | Pin 14 - VSYNC Pin 20 - GND | Pin 5,7,10 - GND

Software Implementation

  • Because of the small amount of RAM available (on a PIC16F1619) only a 25 x 20 Text page can be supported.
  • Since the putch() function is (re)defined, all the stdio.h functions ( puts(), printf()) are re-directed to the VGA display.
  • A simple scroll capability is provided for continuous text output.
  • Use globals cx and cy to position the cursor.

More Ideas

  • Experiment connecting other color inputs ( Red, Blue)
  • Use PPS to choose the color to output the image to (UART TX)
  • Experiment with "block graphics"
  • ...

References