OSDN Git Service
(root)
/
tondenhei
/
et2013.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gitignore整理
[tondenhei/et2013.git]
/
runstate.cpp
1
#include "runstate.h"
\r
2
#include "tsprintf.h"
\r
3
#include "Lcd.h"
\r
4
\r
5
\r
6
using namespace SystemStateStuff;
\r
7
void RunState::Display(ecrobot::Lcd& lcd)
\r
8
{
\r
9
static int cnt = 0;
\r
10
char str[16+1];
\r
11
lcd.clear();
\r
12
tsprintf(str,"cnt = %d",cnt++); // tsprintf 使用例
\r
13
lcd.putf("s",str);
\r
14
lcd.disp();
\r
15
}
\r
16
\r
17
void RunState::CyclicExcute()
\r
18
{
\r
19
m_tracer->Run(100);
\r
20
}
\r