view print.h @ 2:c3b2eaa4a89d

Significant progress made. - Only need to decode a bunch more of the matrix to get the proper key assignments - All of the infrastructure is in place for decoding like matrices for the teensy
author Jacob Alexander <triplehaata@gmail.com>
date Wed, 09 Mar 2011 22:49:34 -0800
parents
children 9df636be6feb
line wrap: on
line source

#ifndef print_h__
#define print_h__

#include <avr/pgmspace.h>
#include "usb_keyboard_debug.h"

// this macro allows you to write print("some text") and
// the string is automatically placed into flash memory :)
#define print(s) print_P(PSTR(s))
#define pchar(c) usb_debug_putchar(c)

void print_P(const char *s);
void phex(unsigned char c);
void phex16(unsigned int i);

#endif