Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Transmission data initialization and its call from constructor.
TEA5767N::TEA5767N() {
Wire.begin();
initializeTransmissionData();
}
void TEA5767N::initializeTransmissionData() {
transmission_data[FIRST_DATA] = 0;
transmission_data[SECOND_DATA] = 0;
transmission_data[THIRD_DATA] = 0xB0;
transmission_data[FOURTH_DATA] = 0x10;
transmission_data[FIFTH_DATA] = 0x00;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment