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
Procedure.cpp
- Committer:
- mariosimaremare
- Date:
- 2016-06-19
- Revision:
- 7:46e65aeb4df2
File content as of revision 7:46e65aeb4df2:
/* * 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); }