Sample Palette Graphics Demo

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-16 | updated: 2013-05-20

This is a sample of a spin project I created sometime ago to create a replacement graphical instrument display.

It shows:

  • How to easily assign color palettes to screen tiles. 
  • Create a grid overlay to see where the object fall into place within the tiles. 
  • How to get around the double buffering if you're low on RAM. 
  • How to create a tachometer type display by using vector graphics. 
  • Create smoothly updating displays by tracking the changes in the data behind the display. (Only change what you have to)

I know it's not documented the best, but most will be able to see how it works. If you have any questions, please feel free to ask.

It will run on a Prop Demo Board with a simple button wired to Pin 7 pulled high to 3.3v with a 10K resistor. It uses the TV out.


Original File Upload
Package icon GraphicsPaletteHelper10.zip43.72 KB


[originally posted by Anonymous on 2011-09-19 14:30:49] Works well.. if you want to disable the GRID from inside the code or if you dont have a button with a pullup resistor on "showgrid" pin, just goto this statement above the "PRI FixedDec(Value)|i,k, V" and look for this "IF" statement:"if INA[ShowGrid]==0". Change the 0 to 1 and load the modified code. Also, it looks better on big TV's in interlace mode "%0010 'mode" in tvparams DAT section. Video DAC on pins 8,9,10? change "long %001_0101 'pins" to "%001_0000". then load your program to RAM. HTH, Rinkscustoms