Skip to content
Snippets Groups Projects
Commit 797edc55 authored by Armin Co's avatar Armin Co
Browse files

Added debug info.

parent 1f634ce1
Branches
No related tags found
No related merge requests found
///
#include <SmartGridModell.hpp>
#include <spdlog/spdlog.h>
......@@ -102,7 +102,9 @@ void SmartGridModell::set_renewable_net(uint8_t brightness)
void SmartGridModell::set_output_pin(Pin pin, uint8_t value)
{
m_modell.send(static_cast<uint8_t>(pin), value);
bool succ = m_modell.send(static_cast<uint8_t>(pin), value);
spdlog::debug("Send: {} {}, success: {}", pin, value, succ);
}
void SmartGridModell::set_house_color(House number, uint8_t red, uint8_t green)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment