Sha256: ffd25d4c7139c34df91d72d48c8684d33d9a264294046b225d1949fb381f35d0
Contents?: true
Size: 798 Bytes
Versions: 2
Compression:
Stored size: 798 Bytes
Contents
/* ========================================================================= Ceedling - Test-Centered Build System for C ThrowTheSwitch.org Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams SPDX-License-Identifier: MIT ========================================================================= */ #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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | examples/temp_sensor/src/UsartConductor.c |
ceedling-1.0.0 | examples/temp_sensor/src/UsartConductor.c |