Yoshiyuki Uehara / Mbed 2 deprecated Maple

Dependencies:   mbed

Committer:
uehara00
Date:
Sun Oct 30 21:20:23 2011 +0000
Revision:
3:eec13a411e94
OLED(MARY-OB) drivers and demonstrations are added.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
uehara00 3:eec13a411e94 1 //copyright 2011 Uehara Yoshiyuki
uehara00 3:eec13a411e94 2 //====================================================================
uehara00 3:eec13a411e94 3 //The author provide the programs without any guarantees or warranty.
uehara00 3:eec13a411e94 4 //The author is not responsible for any damage or losses of any kind
uehara00 3:eec13a411e94 5 //caused by using or misusing of the programs.
uehara00 3:eec13a411e94 6 //The author is under no obligation to provide support, service,
uehara00 3:eec13a411e94 7 //corrections, or upgrades to the programs.
uehara00 3:eec13a411e94 8 //====================================================================
uehara00 3:eec13a411e94 9 // MAPLE board[MARM01-BASE]
uehara00 3:eec13a411e94 10 // common functions
uehara00 3:eec13a411e94 11 #ifndef MAPLE_TEST_H_
uehara00 3:eec13a411e94 12 #define MAPLE_TEST_H_
uehara00 3:eec13a411e94 13
uehara00 3:eec13a411e94 14 // constants
uehara00 3:eec13a411e94 15 #define CURSOR_TEST_HOME 0
uehara00 3:eec13a411e94 16 #define CURSOR_TEST_SIZE 1
uehara00 3:eec13a411e94 17 #define CURSOR_TEST_INIT 0
uehara00 3:eec13a411e94 18
uehara00 3:eec13a411e94 19 #define TEST_HOME 0
uehara00 3:eec13a411e94 20 #define TEST_FONT 1
uehara00 3:eec13a411e94 21 #define TEST_SHIFT 2
uehara00 3:eec13a411e94 22 #define TEST_RTCRAW 3
uehara00 3:eec13a411e94 23 #define TEST_OLEDC1 4
uehara00 3:eec13a411e94 24 #define TEST_OLEDC2A 5
uehara00 3:eec13a411e94 25 #define TEST_OLEDC2B 6
uehara00 3:eec13a411e94 26 #define TEST_OLEDC2C 7
uehara00 3:eec13a411e94 27 #define TEST_OLEDCF 8
uehara00 3:eec13a411e94 28 #define TEST_SIZE 9
uehara00 3:eec13a411e94 29
uehara00 3:eec13a411e94 30 //prototypes for test
uehara00 3:eec13a411e94 31 void display_test(char row0[], char row1[], int &cursor_r, int &cursor_c);
uehara00 3:eec13a411e94 32 void enter_mode_test();
uehara00 3:eec13a411e94 33 void test_function();
uehara00 3:eec13a411e94 34 void cursor_move_test(int flag);
uehara00 3:eec13a411e94 35 void button_xxcrement_test(int flag);
uehara00 3:eec13a411e94 36 static void LCD_print_n_char(char base, int length);
uehara00 3:eec13a411e94 37 static void OLED_test_c1();
uehara00 3:eec13a411e94 38 static void OLED_test_c2a();
uehara00 3:eec13a411e94 39 static void OLED_test_c2b();
uehara00 3:eec13a411e94 40 static void OLED_test_c2c();
uehara00 3:eec13a411e94 41 static void OLED_test_cf();
uehara00 3:eec13a411e94 42 #endif