Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Maple_test.h
- Revision:
- 3:eec13a411e94
diff -r 299a1c9a5795 -r eec13a411e94 Maple_test.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Maple_test.h Sun Oct 30 21:20:23 2011 +0000 @@ -0,0 +1,42 @@ +//copyright 2011 Uehara Yoshiyuki +//==================================================================== +//The author provide the programs without any guarantees or warranty. +//The author is not responsible for any damage or losses of any kind +//caused by using or misusing of the programs. +//The author is under no obligation to provide support, service, +//corrections, or upgrades to the programs. +//==================================================================== +// MAPLE board[MARM01-BASE] +// common functions +#ifndef MAPLE_TEST_H_ +#define MAPLE_TEST_H_ + +// constants +#define CURSOR_TEST_HOME 0 +#define CURSOR_TEST_SIZE 1 +#define CURSOR_TEST_INIT 0 + +#define TEST_HOME 0 +#define TEST_FONT 1 +#define TEST_SHIFT 2 +#define TEST_RTCRAW 3 +#define TEST_OLEDC1 4 +#define TEST_OLEDC2A 5 +#define TEST_OLEDC2B 6 +#define TEST_OLEDC2C 7 +#define TEST_OLEDCF 8 +#define TEST_SIZE 9 + +//prototypes for test +void display_test(char row0[], char row1[], int &cursor_r, int &cursor_c); +void enter_mode_test(); +void test_function(); +void cursor_move_test(int flag); +void button_xxcrement_test(int flag); +static void LCD_print_n_char(char base, int length); +static void OLED_test_c1(); +static void OLED_test_c2a(); +static void OLED_test_c2b(); +static void OLED_test_c2c(); +static void OLED_test_cf(); +#endif \ No newline at end of file