git-svn-id: svn://db.shs.com.ru/pip@638 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2018-10-03 19:51:47 +00:00
parent e1a495039d
commit 031079d24c
3 changed files with 19 additions and 8 deletions

View File

@@ -45,12 +45,14 @@ int main() {
CONNECTU(PICout::Notifier::object(), finished, &a, pcf);
PIString buffer = "my buff:";
PICout(&buffer, 1) << "int 10 ->" << 10 << ", time ->" << PITime::current();*/
PIString s("str");
piCout << s;
piCout << s.quoted();
piCout << s.quoted();
piCout << s.quote();
piCout << s;
PISerial ser(PISerial::availableDevices(false)[0], PISerial::S115200);
piCout << ser.constructFullPath();
piCout << ser.open();
ser.startThreadedRead();
FOREVER {
piCout << ser.isOpened();
piMSleep(200);
}
return 0;
/*}