BaptisteHudyma / Lamp-Da

An embedded program to control an indexable color strip wrapped around a cylinder. Based on Seed nRF52840 Sense module
GNU General Public License v3.0
2 stars 1 forks source link

User modes with modern C++ #13

Closed deuxksix closed 3 weeks ago

deuxksix commented 4 weeks ago

See attached work-in-progress work to use modern C++ to implement user modes

This is a work in progress! This has NOT been validated on real hardware and way brick your controller!

Notably, several patches are required to LampDa_nRF52_Arduino to switch to -std=c++17:

This also includes a fix of an edge case revolving around non-standard zero-argument ##__VA_ARGS__ GNU extension.

deuxksix commented 3 weeks ago

Lots of things changed because of Simple/CCT/Indexable branches being merged (see https://github.com/BaptisteHudyma/Lamp-Da/commit/bf03865aa2ce8d62b69d55ef30d94ac249f5fe66 cc)

I'm thus closing this and will break down this PR in several smaller ones :+1: