1
0
Эх сурвалжийг харах

Added deprecated version of lix.brightness()

Lixie Labs 6 жил өмнө
parent
commit
c7ad4ff49f
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      src/Lixie_II.cpp

+ 4 - 0
src/Lixie_II.cpp

@@ -613,6 +613,10 @@ void Lixie_II::show(){
 
 
 
+void Lixie_II::brightness(uint8_t b){
+  brightness( b/255.0 ); // Forward to newer float function
+}
+
 void Lixie_II::write_flip(uint32_t input, uint16_t flip_time, uint8_t flip_speed){
   // This animation no longer supported, crossfade is used instead
   transition_type(CROSSFADE);