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.21.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.21.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.20.3 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.20.3 examples/temp_sensor/src/UsartConductor.c
ceedling-0.20.2 examples/temp_sensor/src/UsartConductor.c
ceedling-0.20.2 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.19.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c