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.
Fork of g3_waterplay by
Diff: Procedure.cpp
- Revision:
- 7:46e65aeb4df2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Procedure.cpp Sun Jun 19 23:48:07 2016 +0000 @@ -0,0 +1,29 @@ +/* +* G3: WATERPLAY +*/ + +#include "Procedure.h" + +Procedure::Procedure( + Printer &printer +): + _printer(printer) +{ +} +int Procedure::proceed() +{ + int number_of_procedure = 5; + char* procedures[] = { + "Q1?", + "Q2?", + "Q3?", + "Q4?", + "Q5?", + }; + + for(int counter = 0; counter < number_of_procedure; ++counter){ + _printer.toBoth(procedures[counter]); + } + + return(1); +} \ No newline at end of file