MSS
/
testVEML7700
test program for VEML7700
Revision 4:fd986c9c7c93, committed 2017-05-19
- Comitter:
- Rhyme
- Date:
- Fri May 19 06:21:53 2017 +0000
- Parent:
- 3:4f0fee889a8a
- Commit message:
- vt100 lib removed for simplicity
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
vt100.lib | Show diff for this revision Revisions of this file |
diff -r 4f0fee889a8a -r fd986c9c7c93 main.cpp --- a/main.cpp Fri May 19 06:19:05 2017 +0000 +++ b/main.cpp Fri May 19 06:21:53 2017 +0000 @@ -1,6 +1,5 @@ #include "mbed.h" #include "MSS.h" -#include "vt100.h" #include "VEML7700.h" #ifndef MSU_VEML7700_I2C_ADDRESS @@ -9,8 +8,6 @@ VEML7700 *veml7700 = 0 ; -vt100 *tty = 0 ; - int main(void) { uint16_t als, white ; @@ -19,13 +16,9 @@ veml7700->setALSConf(0x0000) ; veml7700->setPowerSaving(0x0000) ; - tty = new vt100() ; - tty->cls() ; - printf("=== VEML7700 test for %s (%s) ===\n",BOARD_NAME, __DATE__) ; printf(" ALS, White\n") ; - while(1) { als = veml7700->getALS() ; white = veml7700->getWHITE() ;
diff -r 4f0fee889a8a -r fd986c9c7c93 vt100.lib --- a/vt100.lib Fri May 19 06:19:05 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://mbed.org/users/Rhyme/code/vt100/#b7229a9eae1c