#include "colors.h" .section ".rodata","a" ;; color definitions according to ;; https://learn.sparkfun.com/tutorials/lilypad-protosnap-plus-activity-guide/3-custom-color-mixing colors: .global colors ;; red, green, blue, padding .byte 0x00, 0x00, 0x00, 0 ;; off .byte 0x00>>5, 0x00>>5, 0xff>>5, 0 ;; blue .byte 0x00>>5, 0xff>>5, 0x00>>5, 0 ;; green .byte 0xff>>5, 0x80>>5, 0x00>>5, 0 ;; orange .byte 0x80>>5, 0x00>>5, 0xff>>5, 0 ;; violet .byte 0x00>>5, 0xff>>5, 0xff>>5, 0 ;; cyan .byte 0xff>>5, 0xff>>5, 0x00>>5, 0 ;; yellow .byte 0xff>>5, 0x00>>5, 0x00>>5, 0 ;; red .byte 0xff>>5, 0xff>>5, 0xff>>5, 0 ;; white .byte 0x00>>4, 0x00>>4, 0xff>>4, 0 ;; blue .byte 0x00>>4, 0xff>>4, 0x00>>4, 0 ;; green .byte 0xff>>4, 0x80>>4, 0x00>>4, 0 ;; orange .byte 0x80>>4, 0x00>>4, 0xff>>4, 0 ;; violet .byte 0x00>>4, 0xff>>4, 0xff>>4, 0 ;; cyan .byte 0xff>>4, 0xff>>4, 0x00>>4, 0 ;; yellow .byte 0xff>>4, 0x00>>4, 0x00>>4, 0 ;; red .byte 0xff>>4, 0xff>>4, 0xff>>4, 0 ;; white .byte 0x00>>3, 0x00>>3, 0xff>>3, 0 ;; blue .byte 0x00>>3, 0xff>>3, 0x00>>3, 0 ;; green .byte 0xff>>3, 0x80>>3, 0x00>>3, 0 ;; orange .byte 0x80>>3, 0x00>>3, 0xff>>3, 0 ;; violet .byte 0x00>>3, 0xff>>3, 0xff>>3, 0 ;; cyan .byte 0xff>>3, 0xff>>3, 0x00>>3, 0 ;; yellow .byte 0xff>>3, 0x00>>3, 0x00>>3, 0 ;; red .byte 0xff>>3, 0xff>>3, 0xff>>3, 0 ;; white .byte 0x00>>2, 0x00>>2, 0xff>>2, 0 ;; blue .byte 0x00>>2, 0xff>>2, 0x00>>2, 0 ;; green .byte 0xff>>2, 0x80>>2, 0x00>>2, 0 ;; orange .byte 0x80>>2, 0x00>>2, 0xff>>2, 0 ;; violet .byte 0x00>>2, 0xff>>2, 0xff>>2, 0 ;; cyan .byte 0xff>>2, 0xff>>2, 0x00>>2, 0 ;; yellow .byte 0xff>>2, 0x00>>2, 0x00>>2, 0 ;; red .byte 0xff>>2, 0xff>>2, 0xff>>2, 0 ;; white .byte 0x00>>1, 0x00>>1, 0xff>>1, 0 ;; blue .byte 0x00>>1, 0xff>>1, 0x00>>1, 0 ;; green .byte 0xff>>1, 0x80>>1, 0x00>>1, 0 ;; orange .byte 0x80>>1, 0x00>>1, 0xff>>1, 0 ;; violet .byte 0x00>>1, 0xff>>1, 0xff>>1, 0 ;; cyan .byte 0xff>>1, 0xff>>1, 0x00>>1, 0 ;; yellow .byte 0xff>>1, 0x00>>1, 0x00>>1, 0 ;; red .byte 0xff>>1, 0xff>>1, 0xff>>1, 0 ;; white