Reinhold Schaefer / SPS

Files at this revision

API Documentation at this revision

Comitter:
rs27
Date:
Sun Apr 17 08:05:29 2016 +0000
Parent:
0:bacf7305d459
Commit message:
Stand 17.04.2016

Changed in this revision

SPS.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SPS.cpp	Sun Apr 17 07:59:11 2016 +0000
+++ b/SPS.cpp	Sun Apr 17 08:05:29 2016 +0000
@@ -1,11 +1,13 @@
 #include "SPS.h"
 #include "mbed.h"
  
-SPS::SPS(PinName pin) : _pin(pin) {
+SPS::SPS(PinName pin) : _pin(pin) 
+{
     _pin = 0;
 }
  
-void SPS::flash(int n) {
+void SPS::flash(int n) 
+{
     for(int i=0; i<n*2; i++) {
         _pin = !_pin;
         wait(0.2);