Files
pico-examples/hello_world/usb/wrappers/NeoPacket.cpp
2023-12-19 01:38:32 -06:00

42 lines
633 B
C++

#include "NeoPacket.h"
namespace NeoPacket
{
GreenPixel& GreenPixel::operator=(GreenPixel& other)
{
this->value = other.value;
return *this;
}
GreenPixel& GreenPixel::operator=(uint8_t val)
{
this->value = val;
return *this;
}
RedPixel& RedPixel::operator=(RedPixel& other)
{
this->value = other.value;
return *this;
}
RedPixel& RedPixel::operator=(uint8_t val)
{
this->value = val;
return *this;
}
BluePixel& BluePixel::operator=(BluePixel& other)
{
this->value = other.value;
return *this;
}
BluePixel& BluePixel::operator=(uint8_t val)
{
this->value = val;
return *this;
}
}