Sha256: 3536b396eddfd8d605ac050c18fd150764031ed873e18362fb0ebc34d9d7dc3c

Contents?: true

Size: 464 Bytes

Versions: 27

Compression:

Stored size: 464 Bytes

Contents

#include "Types.h"
#include "UsartConductor.h"
#include "UsartHardware.h"
#include "UsartModel.h"
#include "TaskScheduler.h"

void UsartConductor_Init(void)
{
  UsartHardware_Init(UsartModel_GetBaudRateRegisterSetting());
  UsartHardware_TransmitString(UsartModel_GetWakeupMessage());
}

void UsartConductor_Run(void)
{
  char* temp;
  if (TaskScheduler_DoUsart())
  {
    temp = UsartModel_GetFormattedTemperature();
    UsartHardware_TransmitString(temp);
  }
}

Version data entries

27 entries across 14 versions & 1 rubygems

Version Path
ceedling-0.31.1 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.31.1 examples/temp_sensor/src/UsartConductor.c
ceedling-0.31.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.31.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.30.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.30.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.28.3 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.28.3 examples/temp_sensor/src/UsartConductor.c
ceedling-0.28.2 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.28.2 examples/temp_sensor/src/UsartConductor.c
ceedling-0.28.1 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.28.1 examples/temp_sensor/src/UsartConductor.c
ceedling-0.27.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.27.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.25.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.25.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.24.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.24.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.22.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.22.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c