Sha256: 64c46bd07884fc815e57752f4c74608ee5a1e67b9b2c8fc0b6ca5f5c8f2cef39

Contents?: true

Size: 485 Bytes

Versions: 54

Compression:

Stored size: 485 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

54 entries across 39 versions & 1 rubygems

Version Path
ceedling-0.29.1 examples/temp_sensor/src/UsartConductor.c
ceedling-0.29.1 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.29.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.29.0 vendor/cmock/examples/temp_sensor/src/UsartConductor.c
ceedling-0.19.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.18.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.18.0 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.17.0 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.17.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.16.0 examples/temp_sensor/src/UsartConductor.c
ceedling-0.16.0 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.15.6 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.15.6 examples/temp_sensor/src/UsartConductor.c
ceedling-0.15.5 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.15.5 examples/temp_sensor/src/UsartConductor.c
ceedling-0.15.4 examples/temp_sensor/src/UsartConductor.c
ceedling-0.15.4 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.15.3 examples/temp_sensor/src/UsartConductor.c
ceedling-0.15.3 vendor/cmock/examples/src/UsartConductor.c
ceedling-0.15.2 vendor/cmock/examples/src/UsartConductor.c