PRO2_Team 1_collected code with ticker and headers_not working yet
Fork of PRO2_samlet_kode by
Diff: logging.cpp
- Revision:
- 6:12f1849aad21
- Parent:
- 5:b366110c0d59
- Child:
- 8:ca39892f5423
--- a/logging.cpp Wed May 24 09:34:54 2017 +0000 +++ b/logging.cpp Wed May 24 11:19:51 2017 +0000 @@ -1,8 +1,18 @@ -//Author : Emil Hammer -//Date : 19 May 2017 -//Version : 1.0 -//Copyright : Open for everyone -//Description : Logging data +/* +------------------------------------------------------------------------------- +-- Project: PRO2 "Awareness and Optimisation of energy consumption" +-- Team: Team 1 + +-- File Name: logging.cpp +-- Author: Emil Hammer +-- Date: 19/05-2017 +-- Copyright: Open to all +-- Version: 1.0 - Creation of file. +-- +-- Description: Logging data +-- +------------------------------------------------------------------------------- +*/ #include "mbed.h" @@ -23,13 +33,13 @@ fprintf(fp,"H2o:x"); //variable fra H2o indsættes - fprintf(fp,"Logger_data update complete!"); // + fprintf(fp,"Logger_data update complete!"); // if (fclose(fp) != 0) fprintf(stderr, "Error closing file\n"); //lukker fil - + //sætter i og t = 0 i=0; t=0; - + return; //går over i hibernation } \ No newline at end of file