From 00cbc221d4f2495fb38c6ba43dffa73498a8b1e8 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Sun, 30 Nov 2014 21:20:03 -0800 Subject: Updating doxygen documentation --- docs/3.1/_fast_l_e_d_8h_source.html | 483 ++++++------ docs/3.1/_fast_s_p_i___l_e_d2_8h_source.html | 2 +- docs/3.1/annotated.html | 116 +-- docs/3.1/bitswap_8h_source.html | 25 +- docs/3.1/chipsets_8h_source.html | 64 +- docs/3.1/class___d_u_e_p_i_n-members.html | 2 +- docs/3.1/class___d_u_e_p_i_n.html | 8 +- docs/3.1/class_a_p_a102_controller-members.html | 15 +- docs/3.1/class_a_p_a102_controller.html | 14 +- docs/3.1/class_a_p_a104.html | 4 +- docs/3.1/class_a_p_a104.png | Bin 1872 -> 2674 bytes .../class_a_v_r_software_s_p_i_output-members.html | 2 +- docs/3.1/class_a_v_r_software_s_p_i_output.html | 2 +- docs/3.1/class_c_fast_l_e_d-members.html | 55 +- docs/3.1/class_c_fast_l_e_d.html | 858 +++++++++++++++++++-- docs/3.1/class_c_fast_noise16-members.html | 112 +++ docs/3.1/class_c_fast_noise16.html | 149 ++++ docs/3.1/class_c_h_s_v_palette16-members.html | 2 +- docs/3.1/class_c_h_s_v_palette16.html | 2 +- docs/3.1/class_c_h_s_v_palette256-members.html | 2 +- docs/3.1/class_c_h_s_v_palette256.html | 2 +- docs/3.1/class_c_l_e_d_controller-members.html | 6 +- docs/3.1/class_c_l_e_d_controller.html | 29 +- docs/3.1/class_c_l_e_d_controller.png | Bin 4603 -> 7591 bytes docs/3.1/class_c_min_wait-members.html | 2 +- docs/3.1/class_c_min_wait.html | 2 +- docs/3.1/class_c_r_g_b_palette16-members.html | 2 +- docs/3.1/class_c_r_g_b_palette16.html | 2 +- docs/3.1/class_c_r_g_b_palette256-members.html | 2 +- docs/3.1/class_c_r_g_b_palette256.html | 2 +- docs/3.1/class_d_a_t_a___n_o_p-members.html | 2 +- docs/3.1/class_d_a_t_a___n_o_p.html | 8 +- docs/3.1/class_d_m_x_s_e_r_i_a_l-members.html | 136 ++++ docs/3.1/class_d_m_x_s_e_r_i_a_l.html | 228 ++++++ docs/3.1/class_d_m_x_s_e_r_i_a_l.png | Bin 0 -> 1050 bytes docs/3.1/class_d_m_x_s_i_m_p_l_e-members.html | 136 ++++ docs/3.1/class_d_m_x_s_i_m_p_l_e.html | 229 ++++++ docs/3.1/class_d_m_x_s_i_m_p_l_e.png | Bin 0 -> 1442 bytes .../3.1/class_d_m_x_serial_controller-members.html | 136 ++++ docs/3.1/class_d_m_x_serial_controller.html | 231 ++++++ docs/3.1/class_d_m_x_serial_controller.png | Bin 0 -> 1054 bytes .../3.1/class_d_m_x_simple_controller-members.html | 136 ++++ docs/3.1/class_d_m_x_simple_controller.html | 235 ++++++ docs/3.1/class_d_m_x_simple_controller.png | Bin 0 -> 1443 bytes docs/3.1/class_deep_pixel_controller-members.html | 15 +- docs/3.1/class_deep_pixel_controller.html | 14 +- docs/3.1/class_fast_pin-members.html | 117 +++ docs/3.1/class_fast_pin.html | 183 +++++ docs/3.1/class_fast_pin.png | Bin 0 -> 532 bytes docs/3.1/class_fast_pin_b_b-members.html | 117 +++ docs/3.1/class_fast_pin_b_b.html | 166 ++++ docs/3.1/class_fast_pin_b_b.png | Bin 0 -> 531 bytes docs/3.1/class_g_w6205.html | 4 +- docs/3.1/class_g_w6205.png | Bin 1904 -> 2703 bytes docs/3.1/class_g_w6205__400.html | 4 +- docs/3.1/class_g_w6205__400.png | Bin 1922 -> 2750 bytes docs/3.1/class_g_w6205_controller400_khz.html | 4 +- docs/3.1/class_g_w6205_controller400_khz.png | Bin 1923 -> 2744 bytes docs/3.1/class_g_w6205_controller800_khz.html | 4 +- docs/3.1/class_g_w6205_controller800_khz.png | Bin 1906 -> 2701 bytes docs/3.1/class_input_pin-members.html | 122 +++ docs/3.1/class_input_pin.html | 186 +++++ docs/3.1/class_input_pin.png | Bin 0 -> 511 bytes docs/3.1/class_l_p_d1886.html | 4 +- docs/3.1/class_l_p_d1886.png | Bin 1891 -> 2717 bytes docs/3.1/class_l_p_d1886_controller1250_khz.html | 4 +- docs/3.1/class_l_p_d1886_controller1250_khz.png | Bin 1892 -> 2714 bytes docs/3.1/class_l_p_d8806_controller-members.html | 4 +- docs/3.1/class_l_p_d8806_controller.html | 14 +- docs/3.1/class_n_e_o_p_i_x_e_l.html | 4 +- docs/3.1/class_n_e_o_p_i_x_e_l.png | Bin 1755 -> 2528 bytes docs/3.1/class_output_pin-members.html | 122 +++ docs/3.1/class_output_pin.html | 186 +++++ docs/3.1/class_output_pin.png | Bin 0 -> 527 bytes docs/3.1/class_p9813_controller-members.html | 15 +- docs/3.1/class_p9813_controller.html | 14 +- docs/3.1/class_pin-members.html | 121 +++ docs/3.1/class_pin.html | 183 +++++ docs/3.1/class_pin.png | Bin 0 -> 713 bytes docs/3.1/class_s_m16716_controller-members.html | 6 +- docs/3.1/class_s_m16716_controller.html | 10 +- docs/3.1/class_s_p_i_output-members.html | 2 +- docs/3.1/class_s_p_i_output.html | 2 +- ...2___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.html | 109 +++ ...i2___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.png | Bin 0 -> 1383 bytes ...i___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.html | 109 +++ ..._i___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.png | Bin 0 -> 2185 bytes docs/3.1/class_selectable-members.html | 2 +- docs/3.1/class_selectable.html | 13 +- docs/3.1/class_selectable.png | Bin 0 -> 718 bytes docs/3.1/class_software_s_p_i_output-members.html | 2 +- docs/3.1/class_software_s_p_i_output.html | 2 +- docs/3.1/class_t_m1803.html | 4 +- docs/3.1/class_t_m1803.png | Bin 1874 -> 2683 bytes docs/3.1/class_t_m1803_controller400_khz.html | 4 +- docs/3.1/class_t_m1803_controller400_khz.png | Bin 1876 -> 2679 bytes docs/3.1/class_t_m1804.html | 4 +- docs/3.1/class_t_m1804.png | Bin 1863 -> 2671 bytes docs/3.1/class_t_m1809.html | 4 +- docs/3.1/class_t_m1809.png | Bin 1855 -> 2670 bytes docs/3.1/class_t_m1809_controller800_khz.html | 6 +- docs/3.1/class_t_m1809_controller800_khz.png | Bin 2543 -> 2801 bytes docs/3.1/class_t_m1829.html | 4 +- docs/3.1/class_t_m1829.png | Bin 2101 -> 2971 bytes docs/3.1/class_t_m1829_controller1600_khz.html | 2 +- docs/3.1/class_t_m1829_controller800_khz.html | 4 +- docs/3.1/class_t_m1829_controller800_khz.png | Bin 2104 -> 2973 bytes docs/3.1/class_u_c_s1903.html | 4 +- docs/3.1/class_u_c_s1903.png | Bin 1871 -> 2721 bytes docs/3.1/class_u_c_s1903_b.html | 4 +- docs/3.1/class_u_c_s1903_b.png | Bin 1863 -> 2688 bytes docs/3.1/class_u_c_s1903_b_controller800_khz.html | 4 +- docs/3.1/class_u_c_s1903_b_controller800_khz.png | Bin 1864 -> 2687 bytes docs/3.1/class_u_c_s1903_controller400_khz.html | 4 +- docs/3.1/class_u_c_s1903_controller400_khz.png | Bin 1871 -> 2723 bytes docs/3.1/class_w_s2801_controller-members.html | 17 +- docs/3.1/class_w_s2801_controller.html | 14 +- docs/3.1/class_w_s2803_controller-members.html | 17 +- docs/3.1/class_w_s2803_controller.html | 14 +- docs/3.1/class_w_s2811.html | 4 +- docs/3.1/class_w_s2811.png | Bin 1873 -> 2679 bytes docs/3.1/class_w_s2811__400.html | 4 +- docs/3.1/class_w_s2811__400.png | Bin 1871 -> 2693 bytes docs/3.1/class_w_s2811_controller400_khz.html | 4 +- docs/3.1/class_w_s2811_controller400_khz.png | Bin 1875 -> 2695 bytes docs/3.1/class_w_s2811_controller800_khz.html | 10 +- docs/3.1/class_w_s2811_controller800_khz.png | Bin 3497 -> 3866 bytes docs/3.1/class_w_s2812.html | 4 +- docs/3.1/class_w_s2812.png | Bin 1879 -> 2682 bytes docs/3.1/class_w_s2812_b.html | 4 +- docs/3.1/class_w_s2812_b.png | Bin 1884 -> 2690 bytes docs/3.1/classes.html | 71 +- docs/3.1/classq-members.html | 7 +- docs/3.1/classq.html | 5 +- docs/3.1/color_8h_source.html | 2 +- docs/3.1/colorpalettes_8h_source.html | 2 +- docs/3.1/colorutils_8h_source.html | 2 +- docs/3.1/controller_8h_source.html | 41 +- docs/3.1/delay_8h_source.html | 2 +- docs/3.1/dmx_8h_source.html | 10 +- docs/3.1/fastled__config_8h_source.html | 2 +- docs/3.1/fastpin_8h_source.html | 29 +- docs/3.1/fastpin__arm__stm32_8h_source.html | 4 +- docs/3.1/fastspi_8h_source.html | 6 +- docs/3.1/fastspi__bitbang_8h_source.html | 129 ++-- docs/3.1/fastspi__dma_8h_source.html | 2 +- docs/3.1/fastspi__nop_8h_source.html | 2 +- docs/3.1/fastspi__ref_8h_source.html | 2 +- docs/3.1/fastspi__types_8h_source.html | 4 +- docs/3.1/files.html | 2 +- docs/3.1/functions.html | 49 +- docs/3.1/functions_func.html | 49 +- docs/3.1/hierarchy.html | 149 ++-- docs/3.1/hsv2rgb_8h_source.html | 2 +- docs/3.1/index.html | 2 +- docs/3.1/led__sysdefs_8h_source.html | 2 +- docs/3.1/lib8tion_8h_source.html | 2 +- docs/3.1/md__r_e_a_d_m_e.html | 2 +- docs/3.1/md__t_o_d_o.html | 4 +- docs/3.1/md_release_notes.html | 4 +- docs/3.1/noise_8h_source.html | 35 +- docs/3.1/pages.html | 3 +- docs/3.1/pixeltypes_8h_source.html | 2 +- docs/3.1/platforms_8h_source.html | 2 +- docs/3.1/power__mgt_8h_source.html | 2 +- docs/3.1/search/all_1.js | 1 + docs/3.1/search/all_10.js | 25 +- docs/3.1/search/all_11.html | 26 + docs/3.1/search/all_11.js | 14 + docs/3.1/search/all_12.html | 26 + docs/3.1/search/all_12.js | 7 + docs/3.1/search/all_13.html | 26 + docs/3.1/search/all_13.js | 12 + docs/3.1/search/all_2.js | 11 +- docs/3.1/search/all_3.js | 15 +- docs/3.1/search/all_4.js | 8 +- docs/3.1/search/all_5.js | 8 +- docs/3.1/search/all_6.js | 7 +- docs/3.1/search/all_7.js | 5 +- docs/3.1/search/all_8.js | 2 +- docs/3.1/search/all_9.js | 5 +- docs/3.1/search/all_a.js | 3 +- docs/3.1/search/all_b.js | 2 +- docs/3.1/search/all_c.js | 3 +- docs/3.1/search/all_d.js | 9 +- docs/3.1/search/all_e.js | 10 +- docs/3.1/search/all_f.js | 5 +- docs/3.1/search/classes_10.html | 26 + docs/3.1/search/classes_10.js | 12 + docs/3.1/search/classes_11.html | 26 + docs/3.1/search/classes_11.js | 7 + docs/3.1/search/classes_12.html | 26 + docs/3.1/search/classes_12.js | 12 + docs/3.1/search/classes_2.js | 11 +- docs/3.1/search/classes_3.js | 13 +- docs/3.1/search/classes_4.js | 10 +- docs/3.1/search/classes_5.js | 4 +- docs/3.1/search/classes_6.js | 7 +- docs/3.1/search/classes_7.js | 3 +- docs/3.1/search/classes_8.js | 2 +- docs/3.1/search/classes_9.js | 5 +- docs/3.1/search/classes_a.js | 2 +- docs/3.1/search/classes_b.js | 6 +- docs/3.1/search/classes_c.js | 9 +- docs/3.1/search/classes_d.js | 7 +- docs/3.1/search/classes_e.js | 10 +- docs/3.1/search/classes_f.html | 26 + docs/3.1/search/classes_f.js | 11 + docs/3.1/search/functions_0.js | 2 +- docs/3.1/search/functions_1.html | 26 + docs/3.1/search/functions_1.js | 5 + docs/3.1/search/functions_2.html | 26 + docs/3.1/search/functions_2.js | 4 + docs/3.1/search/functions_3.html | 26 + docs/3.1/search/functions_3.js | 5 + docs/3.1/search/functions_4.html | 26 + docs/3.1/search/functions_4.js | 4 + docs/3.1/search/functions_5.html | 26 + docs/3.1/search/functions_5.js | 4 + docs/3.1/search/functions_6.html | 26 + docs/3.1/search/functions_6.js | 11 + docs/3.1/search/pages_2.js | 3 +- docs/3.1/search/search.js | 6 +- docs/3.1/struct_c_h_s_v-members.html | 2 +- docs/3.1/struct_c_h_s_v.html | 68 +- docs/3.1/struct_c_r_g_b-members.html | 145 ++-- docs/3.1/struct_c_r_g_b.html | 63 +- .../3.1/struct_multi_pixel_controller-members.html | 4 +- docs/3.1/struct_multi_pixel_controller.html | 8 +- docs/3.1/struct_pixel_controller-members.html | 4 +- docs/3.1/struct_pixel_controller.html | 8 +- docs/3.1/structsub4-members.html | 133 ++++ docs/3.1/structsub4.html | 204 +++++ docs/3.1/todo.html | 100 +++ docs/3.1/union_i_e_e_e754binary32__t-members.html | 2 +- docs/3.1/union_i_e_e_e754binary32__t.html | 60 +- docs/3.1/unionbitswap__type-members.html | 105 +++ docs/3.1/unionbitswap__type.html | 124 +++ docs/3.1/unionjust8bits-members.html | 110 +++ docs/3.1/unionjust8bits.html | 139 ++++ docs/3.1/uniont_bytes_for_long-members.html | 103 +++ docs/3.1/uniont_bytes_for_long.html | 114 +++ 242 files changed, 7185 insertions(+), 1056 deletions(-) create mode 100644 docs/3.1/class_c_fast_noise16-members.html create mode 100644 docs/3.1/class_c_fast_noise16.html create mode 100644 docs/3.1/class_d_m_x_s_e_r_i_a_l-members.html create mode 100644 docs/3.1/class_d_m_x_s_e_r_i_a_l.html create mode 100644 docs/3.1/class_d_m_x_s_e_r_i_a_l.png create mode 100644 docs/3.1/class_d_m_x_s_i_m_p_l_e-members.html create mode 100644 docs/3.1/class_d_m_x_s_i_m_p_l_e.html create mode 100644 docs/3.1/class_d_m_x_s_i_m_p_l_e.png create mode 100644 docs/3.1/class_d_m_x_serial_controller-members.html create mode 100644 docs/3.1/class_d_m_x_serial_controller.html create mode 100644 docs/3.1/class_d_m_x_serial_controller.png create mode 100644 docs/3.1/class_d_m_x_simple_controller-members.html create mode 100644 docs/3.1/class_d_m_x_simple_controller.html create mode 100644 docs/3.1/class_d_m_x_simple_controller.png create mode 100644 docs/3.1/class_fast_pin-members.html create mode 100644 docs/3.1/class_fast_pin.html create mode 100644 docs/3.1/class_fast_pin.png create mode 100644 docs/3.1/class_fast_pin_b_b-members.html create mode 100644 docs/3.1/class_fast_pin_b_b.html create mode 100644 docs/3.1/class_fast_pin_b_b.png create mode 100644 docs/3.1/class_input_pin-members.html create mode 100644 docs/3.1/class_input_pin.html create mode 100644 docs/3.1/class_input_pin.png create mode 100644 docs/3.1/class_output_pin-members.html create mode 100644 docs/3.1/class_output_pin.html create mode 100644 docs/3.1/class_output_pin.png create mode 100644 docs/3.1/class_pin-members.html create mode 100644 docs/3.1/class_pin.html create mode 100644 docs/3.1/class_pin.png create mode 100644 docs/3.1/class_s_p_i_output_3_01_s_p_i2___d_a_t_a_00_01_s_p_i2___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.html create mode 100644 docs/3.1/class_s_p_i_output_3_01_s_p_i2___d_a_t_a_00_01_s_p_i2___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.png create mode 100644 docs/3.1/class_s_p_i_output_3_01_s_p_i___d_a_t_a_00_01_s_p_i___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.html create mode 100644 docs/3.1/class_s_p_i_output_3_01_s_p_i___d_a_t_a_00_01_s_p_i___c_l_o_c_k_00_01_s_p_i___s_p_e_e_d_01_4.png create mode 100644 docs/3.1/class_selectable.png create mode 100644 docs/3.1/search/all_11.html create mode 100644 docs/3.1/search/all_11.js create mode 100644 docs/3.1/search/all_12.html create mode 100644 docs/3.1/search/all_12.js create mode 100644 docs/3.1/search/all_13.html create mode 100644 docs/3.1/search/all_13.js create mode 100644 docs/3.1/search/classes_10.html create mode 100644 docs/3.1/search/classes_10.js create mode 100644 docs/3.1/search/classes_11.html create mode 100644 docs/3.1/search/classes_11.js create mode 100644 docs/3.1/search/classes_12.html create mode 100644 docs/3.1/search/classes_12.js create mode 100644 docs/3.1/search/classes_f.html create mode 100644 docs/3.1/search/classes_f.js create mode 100644 docs/3.1/search/functions_1.html create mode 100644 docs/3.1/search/functions_1.js create mode 100644 docs/3.1/search/functions_2.html create mode 100644 docs/3.1/search/functions_2.js create mode 100644 docs/3.1/search/functions_3.html create mode 100644 docs/3.1/search/functions_3.js create mode 100644 docs/3.1/search/functions_4.html create mode 100644 docs/3.1/search/functions_4.js create mode 100644 docs/3.1/search/functions_5.html create mode 100644 docs/3.1/search/functions_5.js create mode 100644 docs/3.1/search/functions_6.html create mode 100644 docs/3.1/search/functions_6.js create mode 100644 docs/3.1/structsub4-members.html create mode 100644 docs/3.1/structsub4.html create mode 100644 docs/3.1/todo.html create mode 100644 docs/3.1/unionbitswap__type-members.html create mode 100644 docs/3.1/unionbitswap__type.html create mode 100644 docs/3.1/unionjust8bits-members.html create mode 100644 docs/3.1/unionjust8bits.html create mode 100644 docs/3.1/uniont_bytes_for_long-members.html create mode 100644 docs/3.1/uniont_bytes_for_long.html diff --git a/docs/3.1/_fast_l_e_d_8h_source.html b/docs/3.1/_fast_l_e_d_8h_source.html index ee3560ae..a229b46c 100644 --- a/docs/3.1/_fast_l_e_d_8h_source.html +++ b/docs/3.1/_fast_l_e_d_8h_source.html @@ -166,10 +166,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
80 template<uint8_t DATA_PIN, EOrder RGB_ORDER> class GW6205_400 : public GW6205Controller400Khz<DATA_PIN, RGB_ORDER> {};
81 template<uint8_t DATA_PIN, EOrder RGB_ORDER> class LPD1886 : public LPD1886Controller1250Khz<DATA_PIN, RGB_ORDER> {};
82 #ifdef DmxSimple_h
-
83 template<uint8_t DATA_PIN, EOrder RGB_ORDER> class DMXSIMPLE : public DMXSimpleController<DATA_PIN, RGB_ORDER> {};
+
83 template<uint8_t DATA_PIN, EOrder RGB_ORDER> class DMXSIMPLE : public DMXSimpleController<DATA_PIN, RGB_ORDER> {};
84 #endif
85 #ifdef DmxSerial_h
-
86 template<EOrder RGB_ORDER> class DMXSERIAL : public DMXSerialController<RGB_ORDER> {};
+
86 template<EOrder RGB_ORDER> class DMXSERIAL : public DMXSerialController<RGB_ORDER> {};
87 #endif
88 
89 // template <uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER = RGB, uint8_t SPI_SPEED = DATA_RATE_MHZ(20)> class LPD8806 : public LPD8806Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED> {};
@@ -201,271 +201,286 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
115 #define NUM_CONTROLLERS 8
116 #endif
117 
-
118 class CFastLED {
-
119  // int m_nControllers;
-
120  uint8_t m_Scale;
-
121  uint16_t m_nFPS;
-
122  uint32_t m_nMinMicros;
-
123 public:
-
124  CFastLED();
-
125 
-
126  static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
-
127 
-
128  template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
129  switch(CHIPSET) {
-
130  case LPD8806: { static LPD8806Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
131  case WS2801: { static WS2801Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
132  case WS2803: { static WS2803Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
133  case SM16716: { static SM16716Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
134  case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
135  case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
136  }
-
137  }
-
138 
-
139  template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
140  switch(CHIPSET) {
-
141  case LPD8806: { static LPD8806Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
142  case WS2801: { static WS2801Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
143  case WS2803: { static WS2803Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
144  case SM16716: { static SM16716Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
145  case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
146  case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
147  }
-
148  }
-
149 
-
150  template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
151  switch(CHIPSET) {
-
152  case LPD8806: { static LPD8806Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
153  case WS2801: { static WS2801Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
154  case WS2803: { static WS2803Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
155  case SM16716: { static SM16716Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
156  case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
157  case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
-
158  }
-
159  }
-
160 
-
161 #ifdef SPI_DATA
-
162  template<ESPIChipsets CHIPSET> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
163  return addLeds<CHIPSET, SPI_DATA, SPI_CLOCK, RGB>(data, nLedsOrOffset, nLedsIfOffset);
-
164  }
-
165 
-
166  template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
167  return addLeds<CHIPSET, SPI_DATA, SPI_CLOCK, RGB_ORDER>(data, nLedsOrOffset, nLedsIfOffset);
-
168  }
-
169 
-
170  template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
171  return addLeds<CHIPSET, SPI_DATA, SPI_CLOCK, RGB_ORDER, SPI_DATA_RATE>(data, nLedsOrOffset, nLedsIfOffset);
-
172  }
-
173 
-
174 #endif
-
175 
-
176  template<template<uint8_t DATA_PIN> class CHIPSET, uint8_t DATA_PIN>
-
177  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
178  static CHIPSET<DATA_PIN> c;
-
179  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
-
180  }
-
181 
-
182  template<template<uint8_t DATA_PIN, EOrder RGB_ORDER> class CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER>
-
183  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
184  static CHIPSET<DATA_PIN, RGB_ORDER> c;
-
185  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
-
186  }
-
187 
-
188  template<template<uint8_t DATA_PIN, EOrder RGB_ORDER> class CHIPSET, uint8_t DATA_PIN>
-
189  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
190  static CHIPSET<DATA_PIN, RGB> c;
-
191  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
-
192  }
-
193 
-
194  template<template<EOrder RGB_ORDER> class CHIPSET>
-
195  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
196  static CHIPSET<RGB> c;
-
197  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
-
198  }
-
199 
-
200  template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER>
-
201  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
202  static CHIPSET<RGB_ORDER> c;
-
203  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
+
122 class CFastLED {
+
123  // int m_nControllers;
+
124  uint8_t m_Scale;
+
125  uint16_t m_nFPS;
+
126  uint32_t m_nMinMicros;
+
127 public:
+
128  CFastLED();
+
129 
+
130 
+
142  static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
+
143 
+
145 
+
146  template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
165  switch(CHIPSET) {
+
166  case LPD8806: { static LPD8806Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
167  case WS2801: { static WS2801Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
168  case WS2803: { static WS2803Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
169  case SM16716: { static SM16716Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
170  case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
171  case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_DATA_RATE> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
172  }
+
173  }
+
174 
+
175  template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
176  switch(CHIPSET) {
+
177  case LPD8806: { static LPD8806Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
178  case WS2801: { static WS2801Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
179  case WS2803: { static WS2803Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
180  case SM16716: { static SM16716Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
181  case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
182  case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
183  }
+
184  }
+
185 
+
186  template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
187  switch(CHIPSET) {
+
188  case LPD8806: { static LPD8806Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
189  case WS2801: { static WS2801Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
190  case WS2803: { static WS2803Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
191  case SM16716: { static SM16716Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
192  case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
193  case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
+
194  }
+
195  }
+
196 
+
197 #ifdef SPI_DATA
+
198  template<ESPIChipsets CHIPSET> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
199  return addLeds<CHIPSET, SPI_DATA, SPI_CLOCK, RGB>(data, nLedsOrOffset, nLedsIfOffset);
+
200  }
+
201 
+
202  template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
203  return addLeds<CHIPSET, SPI_DATA, SPI_CLOCK, RGB_ORDER>(data, nLedsOrOffset, nLedsIfOffset);
204  }
205 
-
206 #ifdef USE_OCTOWS2811
-
207 template<OWS2811 CHIPSET, EOrder RGB_ORDER>
-
208 static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
-
209 {
-
210  switch(CHIPSET) {
-
211  case OCTOWS2811: { static COctoWS2811Controller<RGB_ORDER> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
-
212  }
-
213 }
+
206  template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
207  return addLeds<CHIPSET, SPI_DATA, SPI_CLOCK, RGB_ORDER, SPI_DATA_RATE>(data, nLedsOrOffset, nLedsIfOffset);
+
208  }
+
209 
+
210 #endif
+
211 
+
212 
214 
-
215 template<OWS2811 CHIPSET>
-
216 static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
-
217 {
-
218  return addLeds<CHIPSET,GRB>(data,nLedsOrOffset,nLedsIfOffset);
-
219 }
-
220 
-
221 #endif
-
222 
-
223 #ifdef SmartMatrix_h
-
224  template<ESM CHIPSET>
-
225  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
-
226  {
-
227  switch(CHIPSET) {
-
228  case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
-
229  }
-
230  }
-
231 #endif
-
232 
-
233 #ifdef FASTSPI_USE_DMX_SIMPLE
-
234  template<EClocklessChipsets CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER=RGB>
-
235  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
-
236  {
-
237  switch(CHIPSET) {
-
238  case DMX: { static DMXController<DATA_PIN> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
-
239  }
-
240  }
-
241 #endif
+
215  template<template<uint8_t DATA_PIN, EOrder RGB_ORDER> class CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER>
+
232  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
233  static CHIPSET<DATA_PIN, RGB_ORDER> c;
+
234  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
+
235  }
+
236 
+
237  template<template<uint8_t DATA_PIN, EOrder RGB_ORDER> class CHIPSET, uint8_t DATA_PIN>
+
238  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
239  static CHIPSET<DATA_PIN, RGB> c;
+
240  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
+
241  }
242 
-
243 #ifdef HAS_BLOCKLESS
-
244 template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER>
-
245 static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
246  switch(CHIPSET) {
-
247 #ifdef PORTA_FIRST_PIN
-
248  case WS2811_PORTA: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTA_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
-
249 #endif
-
250 #ifdef PORTB_FIRST_PIN
-
251  case WS2811_PORTB: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTB_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
-
252 #endif
-
253 #ifdef PORTC_FIRST_PIN
-
254  case WS2811_PORTC: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTC_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
-
255 #endif
-
256 #ifdef PORTD_FIRST_PIN
-
257  case WS2811_PORTD: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTD_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
-
258 #endif
-
259 #ifdef HAS_PORTDC
-
260  case WS2811_PORTDC: return addLeds(new SixteenWayInlineBlockClocklessController<16,NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
-
261 #endif
-
262  }
-
263 
-
264 }
-
265 
-
266 template<EBlockChipsets CHIPSET, int NUM_LANES>
-
267 static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
-
268  return addLeds<CHIPSET,NUM_LANES,GRB>(data,nLedsOrOffset,nLedsIfOffset);
-
269 }
-
270 #endif
-
271 
-
272  void setBrightness(uint8_t scale) { m_Scale = scale; }
-
273  uint8_t getBrightness() { return m_Scale; }
-
274 
-
276  void show(uint8_t scale);
-
277 
-
279  void show() { show(m_Scale); }
-
280 
-
281  void clear(boolean writeData = false);
-
282 
-
283  void clearData();
+
243  template<template<uint8_t DATA_PIN> class CHIPSET, uint8_t DATA_PIN>
+
244  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
245  static CHIPSET<DATA_PIN> c;
+
246  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
+
247  }
+
248 
+
249  #ifdef FASTSPI_USE_DMX_SIMPLE
+
250  template<EClocklessChipsets CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER=RGB>
+
251  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
+
252  {
+
253  switch(CHIPSET) {
+
254  case DMX: { static DMXController<DATA_PIN> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
+
255  }
+
256  }
+
257  #endif
+
258 
+
259 
+
260 
+
262 
+
263  template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER>
+
280  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
281  static CHIPSET<RGB_ORDER> c;
+
282  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
+
283  }
284 
-
285  void showColor(const struct CRGB & color, uint8_t scale);
-
286 
-
287  void showColor(const struct CRGB & color) { showColor(color, m_Scale); }
-
288 
-
289  void delay(unsigned long ms);
+
285  template<template<EOrder RGB_ORDER> class CHIPSET>
+
286  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
287  static CHIPSET<RGB> c;
+
288  return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
+
289  }
290 
-
291  void setTemperature(const struct CRGB & temp);
-
292  void setCorrection(const struct CRGB & correction);
-
293  void setDither(uint8_t ditherMode = BINARY_DITHER);
-
294 
-
295  // Set the maximum refresh rate. This is global for all leds. Attempts to
-
296  // call show faster than this rate will simply wait. Defaults to 400Hz. Set
-
297  // to 0 to have no maximum rate.
-
298  void setMaxRefreshRate(uint16_t refresh);
+
291 #ifdef USE_OCTOWS2811
+
292  template<OWS2811 CHIPSET, EOrder RGB_ORDER>
+
293  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
+
294  {
+
295  switch(CHIPSET) {
+
296  case OCTOWS2811: { static COctoWS2811Controller<RGB_ORDER> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
+
297  }
+
298  }
299 
-
300  // for debugging, will keep track of time between calls to countFPS, and every
-
301  // nFrames calls, it will update an internal counter for the current FPS.
-
302  void countFPS(int nFrames=25);
-
303  // Get the number of frames/second being written out
-
304  uint16_t getFPS() { return m_nFPS; }
+
300  template<OWS2811 CHIPSET>
+
301  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
+
302  {
+
303  return addLeds<CHIPSET,GRB>(data,nLedsOrOffset,nLedsIfOffset);
+
304  }
305 
-
306  // returns the number of controllers (strips) that have been added with addLeds
-
307  int count();
-
308 
-
309  // returns the Nth controller
-
310  CLEDController & operator[](int x);
-
311 
-
312  // Convenience functions for single-strip setups:
-
313 
-
314  // returns the number of LEDs in the first strip
-
315  int size() { return (*this)[0].size(); }
-
316 
-
317  // returns pointer to the CRGB buffer for the first strip
-
318  CRGB *leds() { return (*this)[0].leds(); }
-
319 };
-
320 
-
321 #ifdef FASTLED_AVR
-
322 extern "C" {
-
323  unsigned long millis(void);
-
324 unsigned long micros(void);
-
325 void delay(unsigned long);
-
326 void delayMicroseconds(unsigned int us);
-
327 };
-
328 #endif
-
329 
-
330 #define FastSPI_LED FastLED
-
331 #define FastSPI_LED2 FastLED
-
332 #ifndef LEDS
-
333 #define LEDS FastLED
-
334 #endif
-
335 
-
336 extern CFastLED FastLED;
-
337 
-
338 // Warnings for undefined things
-
339 #ifndef HAS_HARDWARE_PIN_SUPPORT
-
340 #warning "No pin/port mappings found, pin access will be slightly slower. See fastpin.h for info."
-
341 #define NO_HARDWARE_PIN_SUPPORT
-
342 #endif
-
343 
-
344 
-
345 #endif
-
Definition: chipsets.h:501
+
306 #endif
+
307 
+
308 #ifdef SmartMatrix_h
+
309  template<ESM CHIPSET>
+
310  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
+
311  {
+
312  switch(CHIPSET) {
+
313  case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
+
314  }
+
315  }
+
316 #endif
+
317 
+
318 
+
319 
+
320 #ifdef HAS_BLOCKLESS
+
321 
+
323 
+
324  template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER>
+
341  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
342  switch(CHIPSET) {
+
343  #ifdef PORTA_FIRST_PIN
+
344  case WS2811_PORTA: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTA_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
+
345  #endif
+
346  #ifdef PORTB_FIRST_PIN
+
347  case WS2811_PORTB: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTB_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
+
348  #endif
+
349  #ifdef PORTC_FIRST_PIN
+
350  case WS2811_PORTC: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTC_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
+
351  #endif
+
352  #ifdef PORTD_FIRST_PIN
+
353  case WS2811_PORTD: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTD_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
+
354  #endif
+
355  #ifdef HAS_PORTDC
+
356  case WS2811_PORTDC: return addLeds(new SixteenWayInlineBlockClocklessController<16,NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
+
357  #endif
+
358  }
+
359  }
+
360 
+
361  template<EBlockChipsets CHIPSET, int NUM_LANES>
+
362  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+
363  return addLeds<CHIPSET,NUM_LANES,GRB>(data,nLedsOrOffset,nLedsIfOffset);
+
364  }
+
366 #endif
+
367 
+
370  void setBrightness(uint8_t scale) { m_Scale = scale; }
+
371 
+
374  uint8_t getBrightness() { return m_Scale; }
+
375 
+
378  void show(uint8_t scale);
+
379 
+
381  void show() { show(m_Scale); }
+
382 
+
383  void clear(boolean writeData = false);
+
384 
+
385  void clearData();
+
386 
+
390  void showColor(const struct CRGB & color, uint8_t scale);
+
391 
+
394  void showColor(const struct CRGB & color) { showColor(color, m_Scale); }
+
395 
+
399  void delay(unsigned long ms);
+
400 
+
404  void setTemperature(const struct CRGB & temp);
+
405 
+
409  void setCorrection(const struct CRGB & correction);
+
410 
+
414  void setDither(uint8_t ditherMode = BINARY_DITHER);
+
415 
+
420  void setMaxRefreshRate(uint16_t refresh);
+
421 
+
426  void countFPS(int nFrames=25);
+
427 
+
430  uint16_t getFPS() { return m_nFPS; }
+
431 
+
434  int count();
+
435 
+
438  CLEDController & operator[](int x);
+
439 
+
442  int size() { return (*this)[0].size(); }
+
443 
+
446  CRGB *leds() { return (*this)[0].leds(); }
+
447 };
+
448 
+
449 #define FastSPI_LED FastLED
+
450 #define FastSPI_LED2 FastLED
+
451 #ifndef LEDS
+
452 #define LEDS FastLED
+
453 #endif
+
454 
+
455 extern CFastLED FastLED;
+
456 
+
457 // Warnings for undefined things
+
458 #ifndef HAS_HARDWARE_PIN_SUPPORT
+
459 #warning "No pin/port mappings found, pin access will be slightly slower. See fastpin.h for info."
+
460 #define NO_HARDWARE_PIN_SUPPORT
+
461 #endif
+
462 
+
463 
+
464 #endif
+
Definition: chipsets.h:464
+
static CLEDController & addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a 3rd party library based CLEDController instance to the world.
Definition: FastLED.h:280
Definition: FastLED.h:74
Definition: pixeltypes.h:81
+
CLEDController & operator[](int x)
Get a reference to a registered controller.
Definition: FastLED.cpp:63
Definition: FastLED.h:81
Definition: FastLED.h:79
-
Definition: controller.h:32
-
Definition: chipsets.h:522
+
Base definition for an LED controller.
Definition: controller.h:32
+
int size()
Get the number of leds in the first controller.
Definition: FastLED.h:442
+
Definition: chipsets.h:457
+
uint8_t getBrightness()
Get the current global brightness setting.
Definition: FastLED.h:374
Definition: chipsets.h:94
-
Definition: chipsets.h:508
-
Definition: chipsets.h:494
-
Definition: FastLED.h:118
-
Definition: chipsets.h:536
+
Definition: chipsets.h:467
+
Definition: chipsets.h:482
+
int count()
Get how many controllers have been registered.
Definition: FastLED.cpp:53
+
High level controller interface for FastLED.
Definition: FastLED.h:122
+
Definition: dmx.h:10
+
static CLEDController & addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a clockless (aka 3wire, also DMX) based CLEDController instance to the world. ...
Definition: FastLED.h:232
+
Definition: chipsets.h:473
Definition: FastLED.h:72
-
Definition: chipsets.h:515
+
Definition: chipsets.h:470
Definition: FastLED.h:69
Definition: chipsets.h:162
-
Definition: chipsets.h:551
-
Definition: chipsets.h:542
+
void setDither(uint8_t ditherMode=BINARY_DITHER)
Set the dithering mode.
Definition: FastLED.cpp:133
+
void setTemperature(const struct CRGB &temp)
Set a global color temperature.
Definition: FastLED.cpp:117
+
uint16_t getFPS()
Get the number of frames/second being written out.
Definition: FastLED.h:430
+
Definition: FastLED.h:83
+
Definition: chipsets.h:453
+
CRGB * leds()
Get a pointer to led data for the first controller.
Definition: FastLED.h:446
+
Definition: chipsets.h:476
Definition: FastLED.h:68
Definition: FastLED.h:67
-
void show()
Update all our controllers with the current led colors.
Definition: FastLED.h:279
+
void show()
Update all our controllers with the current led colors.
Definition: FastLED.h:381
+
void setCorrection(const struct CRGB &correction)
Set a global color correction.
Definition: FastLED.cpp:125
+
void showColor(const struct CRGB &color, uint8_t scale)
Set all leds on all controllers to the given color/scale.
Definition: FastLED.cpp:75
Definition: FastLED.h:75
+
void setMaxRefreshRate(uint16_t refresh)
Set the maximum refresh rate.
Definition: FastLED.cpp:199
Definition: chipsets.h:296
-
Definition: chipsets.h:487
-
Definition: chipsets.h:529
+
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
Definition: FastLED.cpp:26
+
Definition: FastLED.h:86
+
Definition: dmx.h:57
+
void setBrightness(uint8_t scale)
Set the global brightness scaling.
Definition: FastLED.h:370
+
Definition: chipsets.h:479
+
Definition: chipsets.h:461
+
void showColor(const struct CRGB &color)
Set all leds on all controllers to the given color.
Definition: FastLED.h:394
Definition: FastLED.h:70
Definition: FastLED.h:73
Definition: chipsets.h:213
+
void countFPS(int nFrames=25)
for debugging, will keep track of time between calls to countFPS, and every nFrames calls...
Definition: FastLED.cpp:186
Definition: chipsets.h:204
Definition: FastLED.h:76
Definition: FastLED.h:78
Definition: FastLED.h:77
+
void delay(unsigned long ms)
Delay for the given number of milliseconds.
Definition: FastLED.cpp:105
Definition: chipsets.h:379
Definition: FastLED.h:71
Definition: FastLED.h:80
diff --git a/docs/3.1/_fast_s_p_i___l_e_d2_8h_source.html b/docs/3.1/_fast_s_p_i___l_e_d2_8h_source.html index 1d434579..239b8143 100644 --- a/docs/3.1/_fast_s_p_i___l_e_d2_8h_source.html +++ b/docs/3.1/_fast_s_p_i___l_e_d2_8h_source.html @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/annotated.html b/docs/3.1/annotated.html index 85463cf5..1f54042a 100644 --- a/docs/3.1/annotated.html +++ b/docs/3.1/annotated.html @@ -89,64 +89,80 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here are the classes, structs, unions and interfaces with brief descriptions:
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 C_DUEPIN
 C_DUEPINTemplate definition for STM32 style ARM pins, providing direct access to the various GPIO registers
 CAPA102Controller
 CAPA104
 CAVRSoftwareSPIOutput
 CCFastLED
 CCHSV
 CCHSVPalette16
 CCHSVPalette256
 CCLEDController
 CCMinWait
 CCRGB
 CCRGBPalette16
 CCRGBPalette256
 CDATA_NOP
 CDeepPixelController
 CGW6205
 CGW6205_400
 CGW6205Controller400Khz
 CGW6205Controller800Khz
 CIEEE754binary32_t
 CLPD1886
 CLPD1886Controller1250Khz
 CLPD8806Controller
 CMultiPixelController
 CNEOPIXEL
 CP9813Controller
 CPixelController
 Cq
 CSelectable
 CSM16716Controller
 CSoftwareSPIOutput
 CSPIOutput
 CTM1803
 CTM1803Controller400Khz
 CTM1804
 CTM1809
 CTM1809Controller800Khz
 CTM1829
 CTM1829Controller1600Khz
 CTM1829Controller800Khz
 CUCS1903
 CUCS1903B
 CUCS1903BController800Khz
 CUCS1903Controller400Khz
 CWS2801Controller
 CWS2803Controller
 CWS2811
 CWS2811_400
 CWS2811Controller400Khz
 CWS2811Controller800Khz
 CWS2812
 CWS2812B
 Cbitswap_type
 CCFastLEDHigh level controller interface for FastLED
 CCFastNoise16Class for accessing 16 bit noise
 CCHSV
 CCHSVPalette16
 CCHSVPalette256
 CCLEDControllerBase definition for an LED controller
 CCMinWait
 CCRGB
 CCRGBPalette16
 CCRGBPalette256
 CDATA_NOPSome of the SPI controllers will need to perform a transform on each byte before doing anyting with it
 CDeepPixelController
 CDMXSERIAL
 CDMXSerialController
 CDMXSIMPLE
 CDMXSimpleController
 CFastPinThe simplest level of Pin class
 CFastPinBB
 CGW6205
 CGW6205_400
 CGW6205Controller400Khz
 CGW6205Controller800Khz
 CIEEE754binary32_t
 CInputPin
 Cjust8bits
 CLPD1886
 CLPD1886Controller1250Khz
 CLPD8806Controller
 CMultiPixelController
 CNEOPIXEL
 COutputPin
 CP9813Controller
 CPin
 CPixelController
 Cq
 CSelectable
 CSM16716Controller
 CSoftwareSPIOutput
 CSPIOutput
 CSPIOutput< SPI2_DATA, SPI2_CLOCK, SPI_SPEED >
 CSPIOutput< SPI_DATA, SPI_CLOCK, SPI_SPEED >
 Csub4
 CtBytesForLong
 CTM1803
 CTM1803Controller400Khz
 CTM1804
 CTM1809
 CTM1809Controller800Khz
 CTM1829
 CTM1829Controller1600Khz
 CTM1829Controller800Khz
 CUCS1903
 CUCS1903B
 CUCS1903BController800Khz
 CUCS1903Controller400Khz
 CWS2801Controller
 CWS2803Controller
 CWS2811
 CWS2811_400
 CWS2811Controller400Khz
 CWS2811Controller800Khz
 CWS2812
 CWS2812B
diff --git a/docs/3.1/bitswap_8h_source.html b/docs/3.1/bitswap_8h_source.html index 6c5f2011..25f0cd39 100644 --- a/docs/3.1/bitswap_8h_source.html +++ b/docs/3.1/bitswap_8h_source.html @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
3 
4 #ifdef FASTLED_ARM
5 // structure representing 8 bits of access
-
6 typedef union {
+
6 typedef union {
7  uint8_t raw;
8  struct {
9  uint32_t a0:1;
@@ -101,10 +101,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
15  uint32_t a6:1;
16  uint32_t a7:1;
17  };
-
18 } just8bits;
+
18 } just8bits;
19 
20 // structure representing 32 bits of access
-
21 typedef struct {
+
21 typedef struct {
22  uint32_t a0:1;
23  uint32_t a1:1;
24  uint32_t a2:1;
@@ -137,17 +137,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
51  uint32_t d5:1;
52  uint32_t d6:1;
53  uint32_t d7:1;
-
54 } sub4;
+
54 } sub4;
55 
56 // union containing a full 8 bytes to swap the bit orientation on
-
57 typedef union {
+
57 typedef union {
58  uint32_t word[2];
59  uint8_t bytes[8];
60  struct {
-
61  sub4 a;
-
62  sub4 b;
+
61  sub4 a;
+
62  sub4 b;
63  };
-
64 } bitswap_type;
+
64 } bitswap_type;
65 
66 
67 #define SWAPSA(X,N) out. X ## 0 = in.a.a ## N; \
@@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
84  out. X ## 7 = in.b.d ## N;
85 
86 
-
87 __attribute__((always_inline)) inline void swapbits8(bitswap_type in, bitswap_type & out) {
+
87 __attribute__((always_inline)) inline void swapbits8(bitswap_type in, bitswap_type & out) {
88 
89  // SWAPS(a.a,7);
90  // SWAPS(a.b,6);
@@ -202,7 +202,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
116  // SWAPSB(b.d,0);
117 
118  for(int i = 0; i < 8; i++) {
-
119  just8bits work;
+
119  just8bits work;
120  work.a3 = in.word[0] >> 31;
121  work.a2 = in.word[0] >> 23;
122  work.a1 = in.word[0] >> 15;
@@ -341,10 +341,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
255 }
256 #endif
257 #endif
+
Definition: bitswap.h:6
+
Definition: bitswap.h:21
+
Definition: bitswap.h:57
diff --git a/docs/3.1/chipsets_8h_source.html b/docs/3.1/chipsets_8h_source.html index 71a674c7..7730c7f5 100644 --- a/docs/3.1/chipsets_8h_source.html +++ b/docs/3.1/chipsets_8h_source.html @@ -522,96 +522,96 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
450 #define FMUL (F_CPU/8000000)
451 // LPD1886
452 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
453 class LPD1886Controller1250Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 3 * FMUL, 2 * FMUL, RGB_ORDER, 4> {};
+
453 class LPD1886Controller1250Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 3 * FMUL, 2 * FMUL, RGB_ORDER, 4> {};
454 
455 // WS2811@800khz 2 clocks, 5 clocks, 3 clocks
456 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
457 class WS2811Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 5 * FMUL, 3 * FMUL, RGB_ORDER> {};
+
457 class WS2811Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 5 * FMUL, 3 * FMUL, RGB_ORDER> {};
458 //class WS2811Controller800Khz : public ClocklessController<DATA_PIN, 3 * FMUL, 4 * FMUL, 3 * FMUL, RGB_ORDER> {};
459 
460 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
461 class WS2811Controller400Khz : public ClocklessController<DATA_PIN, 4 * FMUL, 10 * FMUL, 6 * FMUL, RGB_ORDER> {};
+
461 class WS2811Controller400Khz : public ClocklessController<DATA_PIN, 4 * FMUL, 10 * FMUL, 6 * FMUL, RGB_ORDER> {};
462 
463 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
464 class UCS1903Controller400Khz : public ClocklessController<DATA_PIN, 4 * FMUL, 12 * FMUL, 4 * FMUL, RGB_ORDER> {};
+
464 class UCS1903Controller400Khz : public ClocklessController<DATA_PIN, 4 * FMUL, 12 * FMUL, 4 * FMUL, RGB_ORDER> {};
465 
466 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
467 class UCS1903BController800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 4 * FMUL, 4 * FMUL, RGB_ORDER> {};
+
467 class UCS1903BController800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 4 * FMUL, 4 * FMUL, RGB_ORDER> {};
468 
469 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
470 class TM1809Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 5 * FMUL, 3 * FMUL, RGB_ORDER> {};
+
470 class TM1809Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 5 * FMUL, 3 * FMUL, RGB_ORDER> {};
471 
472 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
473 class TM1803Controller400Khz : public ClocklessController<DATA_PIN, 6 * FMUL, 9 * FMUL, 6 * FMUL, RGB_ORDER> {};
+
473 class TM1803Controller400Khz : public ClocklessController<DATA_PIN, 6 * FMUL, 9 * FMUL, 6 * FMUL, RGB_ORDER> {};
474 
475 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
476 class TM1829Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 5 * FMUL, 3 * FMUL, RGB_ORDER> {};
+
476 class TM1829Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 5 * FMUL, 3 * FMUL, RGB_ORDER> {};
477 
478 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
479 class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 6 * FMUL, 7 * FMUL, 6 * FMUL, RGB_ORDER, 4> {};
+
479 class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 6 * FMUL, 7 * FMUL, 6 * FMUL, RGB_ORDER, 4> {};
480 
481 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
482 class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 4 * FMUL, 4 * FMUL, RGB_ORDER, 4> {};
+
482 class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 4 * FMUL, 4 * FMUL, RGB_ORDER, 4> {};
483 
484 #else
485 // GW6205@400khz - 800ns, 800ns, 800ns
486 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
487 class GW6205Controller400Khz : public ClocklessController<DATA_PIN, NS(800), NS(800), NS(800), RGB_ORDER, 4> {};
+
487 class GW6205Controller400Khz : public ClocklessController<DATA_PIN, NS(800), NS(800), NS(800), RGB_ORDER, 4> {};
488 #if NO_TIME(800, 800, 800)
489 #warning "Not enough clock cycles available for the GW6205@400khz"
490 #endif
491 
492 // GW6205@400khz - 400ns, 400ns, 400ns
493 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
494 class GW6205Controller800Khz : public ClocklessController<DATA_PIN, NS(400), NS(400), NS(400), RGB_ORDER, 4> {};
+
494 class GW6205Controller800Khz : public ClocklessController<DATA_PIN, NS(400), NS(400), NS(400), RGB_ORDER, 4> {};
495 #if NO_TIME(400, 400, 400)
496 #warning "Not enough clock cycles available for the GW6205@400khz"
497 #endif
498 
499 // UCS1903 - 500ns, 1500ns, 500ns
500 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
501 class UCS1903Controller400Khz : public ClocklessController<DATA_PIN, NS(500), NS(1500), NS(500), RGB_ORDER> {};
+
501 class UCS1903Controller400Khz : public ClocklessController<DATA_PIN, NS(500), NS(1500), NS(500), RGB_ORDER> {};
502 #if NO_TIME(500, 1500, 500)
503 #warning "Not enough clock cycles available for the UCS103@400khz"
504 #endif
505 
506 // UCS1903B - 400ns, 450ns, 450ns
507 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
508 class UCS1903BController800Khz : public ClocklessController<DATA_PIN, NS(400), NS(450), NS(450), RGB_ORDER> {};
+
508 class UCS1903BController800Khz : public ClocklessController<DATA_PIN, NS(400), NS(450), NS(450), RGB_ORDER> {};
509 #if NO_TIME(400, 450, 450)
510 #warning "Not enough clock cycles available for the UCS103B@800khz"
511 #endif
512 
513 // TM1809 - 350ns, 350ns, 550ns
514 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
515 class TM1809Controller800Khz : public ClocklessController<DATA_PIN, NS(350), NS(350), NS(450), RGB_ORDER> {};
+
515 class TM1809Controller800Khz : public ClocklessController<DATA_PIN, NS(350), NS(350), NS(450), RGB_ORDER> {};
516 #if NO_TIME(350, 350, 550)
517 #warning "Not enough clock cycles available for the TM1809"
518 #endif
519 
520 // WS2811 - 320ns, 320ns, 640ns
521 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
522 class WS2811Controller800Khz : public ClocklessController<DATA_PIN, NS(320), NS(320), NS(640), RGB_ORDER> {};
+
522 class WS2811Controller800Khz : public ClocklessController<DATA_PIN, NS(320), NS(320), NS(640), RGB_ORDER> {};
523 #if NO_TIME(320, 320, 640)
524 #warning "Not enough clock cycles available for the WS2811 (800khz)"
525 #endif
526 
527 // WS2811@400khz - 800ns, 800ns, 900ns
528 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
529 class WS2811Controller400Khz : public ClocklessController<DATA_PIN, NS(800), NS(800), NS(900), RGB_ORDER> {};
+
529 class WS2811Controller400Khz : public ClocklessController<DATA_PIN, NS(800), NS(800), NS(900), RGB_ORDER> {};
530 #if NO_TIME(800, 800, 900)
531 #warning "Not enough clock cycles available for the WS2811 (400Khz)"
532 #endif
533 
534 // 750NS, 750NS, 750NS
535 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
536 class TM1803Controller400Khz : public ClocklessController<DATA_PIN, NS(700), NS(1100), NS(700), RGB_ORDER> {};
+
536 class TM1803Controller400Khz : public ClocklessController<DATA_PIN, NS(700), NS(1100), NS(700), RGB_ORDER> {};
537 #if NO_TIME(750, 750, 750)
538 #warning "Not enough clock cycles available for the TM1803"
539 #endif
540 
541 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
542 class TM1829Controller800Khz : public ClocklessController<DATA_PIN, NS(340), NS(340), NS(550), RGB_ORDER, 0, true, 500> {};
+
542 class TM1829Controller800Khz : public ClocklessController<DATA_PIN, NS(340), NS(340), NS(550), RGB_ORDER, 0, true, 500> {};
543 
544 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
545 class TM1829Controller1600Khz : public ClocklessController<DATA_PIN, NS(100), NS(300), NS(200), RGB_ORDER, 0, true, 500> {};
@@ -620,7 +620,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
548 #endif
549 
550 template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-
551 class LPD1886Controller1250Khz : public ClocklessController<DATA_PIN, NS(200), NS(400), NS(200), RGB_ORDER, 4> {};
+
551 class LPD1886Controller1250Khz : public ClocklessController<DATA_PIN, NS(200), NS(400), NS(200), RGB_ORDER, 4> {};
552 #if NO_TIME(200,400,200)
553 #warning "Not enough clock cycles for LPD1886"
554 #endif
@@ -629,24 +629,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
557 
558 #endif
-
Definition: chipsets.h:501
+
Definition: chipsets.h:464
Definition: pixeltypes.h:81
-
Definition: controller.h:32
-
Definition: chipsets.h:522
+
Base definition for an LED controller.
Definition: controller.h:32
+
Definition: chipsets.h:457
Definition: chipsets.h:545
Definition: chipsets.h:94
-
Definition: chipsets.h:508
-
Definition: chipsets.h:494
+
Definition: chipsets.h:467
+
Definition: chipsets.h:482
Definition: controller.h:158
-
Definition: chipsets.h:536
-
Definition: chipsets.h:515
+
Definition: chipsets.h:473
+
Definition: chipsets.h:470
Definition: chipsets.h:162
-
Definition: chipsets.h:551
-
Definition: chipsets.h:542
+
Definition: chipsets.h:453
+
Definition: chipsets.h:476
Definition: chipsets.h:296
-
Definition: chipsets.h:487
-
Definition: chipsets.h:529
+
Definition: chipsets.h:479
+
Definition: chipsets.h:461
Definition: chipsets.h:213
Definition: chipsets.h:13
Definition: chipsets.h:204
@@ -654,7 +654,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class___d_u_e_p_i_n-members.html b/docs/3.1/class___d_u_e_p_i_n-members.html index a73cd1f7..30472086 100644 --- a/docs/3.1/class___d_u_e_p_i_n-members.html +++ b/docs/3.1/class___d_u_e_p_i_n-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class___d_u_e_p_i_n.html b/docs/3.1/class___d_u_e_p_i_n.html index 10c71bbf..87f2c079 100644 --- a/docs/3.1/class___d_u_e_p_i_n.html +++ b/docs/3.1/class___d_u_e_p_i_n.html @@ -92,6 +92,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+

Template definition for STM32 style ARM pins, providing direct access to the various GPIO registers. + More...

+

#include <fastpin_arm_stm32.h>

+ + - - - - - + + + + + +

@@ -155,14 +158,15 @@ static bool 

isset () _

template<uint8_t PIN, uint32_t _MASK, typename _ODR, typename _BSRR, typename _BRR>
class _DUEPIN< PIN, _MASK, _ODR, _BSRR, _BRR >

-

Template definition for STM32 style ARM pins, providing direct access to the various GPIO registers. Note that this uses the full port GPIO registers. The registers are data register(GPIOx_ODR), set output register (GPIOx_BSRR), clear output register (GPIOx_BRR), cheating and using "pinMode" to set output for now, need to write raw register versions of those

+

Template definition for STM32 style ARM pins, providing direct access to the various GPIO registers.

+

Note that this uses the full port GPIO registers. The registers are data register(GPIOx_ODR), set output register (GPIOx_BSRR), clear output register (GPIOx_BRR), cheating and using "pinMode" to set output for now, need to write raw register versions of those


The documentation for this class was generated from the following file: diff --git a/docs/3.1/class_a_p_a102_controller-members.html b/docs/3.1/class_a_p_a102_controller-members.html index 8def1387..c573ea6d 100644 --- a/docs/3.1/class_a_p_a102_controller-members.html +++ b/docs/3.1/class_a_p_a102_controller-members.html @@ -118,16 +118,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline
setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline
show(const struct CRGB *data, int nLeds, CRGB scale) (defined in APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlineprotectedvirtual
show(const struct CRGB *data, int nLeds, CRGB scale) (defined in APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlineprotectedvirtual
show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual
show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlineprotectedvirtual
showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
size() (defined in CLEDController)CLEDControllerinline
show(const struct CARGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlineprotectedvirtual
showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
size() (defined in CLEDController)CLEDControllerinline
diff --git a/docs/3.1/class_a_p_a102_controller.html b/docs/3.1/class_a_p_a102_controller.html index 5682873f..af3213a8 100644 --- a/docs/3.1/class_a_p_a102_controller.html +++ b/docs/3.1/class_a_p_a102_controller.html @@ -97,7 +97,7 @@ Inheritance diagram for APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI
-CLEDController +CLEDController
@@ -125,6 +125,9 @@ void  + + @@ -176,6 +179,13 @@ virtual void  + + + + +
showColor (const
CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
CLEDControllersetLeds (CRGB *data, int nLeds)
 
showColor
virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
+virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
- Protected Member Functions inherited from CLEDController
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
@@ -216,7 +226,7 @@ static CLEDController *&# diff --git a/docs/3.1/class_a_p_a104.html b/docs/3.1/class_a_p_a104.html index fbcb5d84..09935fc8 100644 --- a/docs/3.1/class_a_p_a104.html +++ b/docs/3.1/class_a_p_a104.html @@ -93,7 +93,7 @@ Inheritance diagram for APA104< DATA_PIN, RGB_ORDER >:
-WS2811Controller800Khz< DATA_PIN, RGB_ORDER > +WS2811Controller800Khz< DATA_PIN, RGB_ORDER >

The documentation for this class was generated from the following file:

Additional Inherited Members

diff --git a/docs/3.1/class_a_v_r_software_s_p_i_output.html b/docs/3.1/class_a_v_r_software_s_p_i_output.html index 737c7fce..6f9c3454 100644 --- a/docs/3.1/class_a_v_r_software_s_p_i_output.html +++ b/docs/3.1/class_a_v_r_software_s_p_i_output.html @@ -138,7 +138,7 @@ static void writeByte diff --git a/docs/3.1/class_c_fast_l_e_d-members.html b/docs/3.1/class_c_fast_l_e_d-members.html index 700a59c3..10c18769 100644 --- a/docs/3.1/class_c_fast_l_e_d-members.html +++ b/docs/3.1/class_c_fast_l_e_d-members.html @@ -90,39 +90,48 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

This is the complete list of members for CFastLED, including all inherited members.

- + + + + + - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDstatic
addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)CFastLEDstatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)CFastLEDinline
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinline
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
CFastLED() (defined in CFastLED)CFastLED
clear(boolean writeData=false) (defined in CFastLED)CFastLED
clearData() (defined in CFastLED)CFastLED
count() (defined in CFastLED)CFastLED
countFPS(int nFrames=25) (defined in CFastLED)CFastLED
delay(unsigned long ms) (defined in CFastLED)CFastLED
getBrightness() (defined in CFastLED)CFastLEDinline
getFPS() (defined in CFastLED)CFastLEDinline
leds() (defined in CFastLED)CFastLEDinline
operator[](int x) (defined in CFastLED)CFastLED
setBrightness(uint8_t scale) (defined in CFastLED)CFastLEDinline
setCorrection(const struct CRGB &correction) (defined in CFastLED)CFastLED
setDither(uint8_t ditherMode=BINARY_DITHER) (defined in CFastLED)CFastLED
setMaxRefreshRate(uint16_t refresh) (defined in CFastLED)CFastLED
setTemperature(const struct CRGB &temp) (defined in CFastLED)CFastLED
show(uint8_t scale)CFastLED
show()CFastLEDinline
showColor(const struct CRGB &color, uint8_t scale) (defined in CFastLED)CFastLED
showColor(const struct CRGB &color) (defined in CFastLED)CFastLEDinline
size() (defined in CFastLED)CFastLEDinline
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)CFastLEDinlinestatic
addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) (defined in CFastLED)CFastLEDinlinestatic
CFastLED() (defined in CFastLED)CFastLED
clear(boolean writeData=false) (defined in CFastLED)CFastLED
clearData() (defined in CFastLED)CFastLED
count()CFastLED
countFPS(int nFrames=25)CFastLED
delay(unsigned long ms)CFastLED
getBrightness()CFastLEDinline
getFPS()CFastLEDinline
leds()CFastLEDinline
operator[](int x)CFastLED
setBrightness(uint8_t scale)CFastLEDinline
setCorrection(const struct CRGB &correction)CFastLED
setDither(uint8_t ditherMode=BINARY_DITHER)CFastLED
setMaxRefreshRate(uint16_t refresh)CFastLED
setTemperature(const struct CRGB &temp)CFastLED
show(uint8_t scale)CFastLED
show()CFastLEDinline
showColor(const struct CRGB &color, uint8_t scale)CFastLED
showColor(const struct CRGB &color)CFastLEDinline
size()CFastLEDinline
diff --git a/docs/3.1/class_c_fast_l_e_d.html b/docs/3.1/class_c_fast_l_e_d.html index 0dda9693..6f361dd0 100644 --- a/docs/3.1/class_c_fast_l_e_d.html +++ b/docs/3.1/class_c_fast_l_e_d.html @@ -91,22 +91,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
CFastLED Class Reference
+ +

High level controller interface for FastLED. + More...

+ +

#include <FastLED.h>

- - - - + + - + + - - + + @@ -118,51 +118,58 @@ void  - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + +

Public Member Functions

-template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE>
CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
-void setBrightness (uint8_t scale)
void setBrightness (uint8_t scale)
 Set the global brightness scaling. More...
 
-uint8_t getBrightness ()
uint8_t getBrightness ()
 Get the current global brightness setting. More...
 
-void show (uint8_t scale)
 Update all our controllers with the current led colors, using the passed in brightness.
void show (uint8_t scale)
 Update all our controllers with the current led colors, using the passed in brightness. More...
 
void show ()
clear (boolean wr
void clearData ()
 
-void showColor (const struct CRGB &color, uint8_t scale)
void showColor (const struct CRGB &color, uint8_t scale)
 Set all leds on all controllers to the given color/scale. More...
 
-void showColor (const struct CRGB &color)
void showColor (const struct CRGB &color)
 Set all leds on all controllers to the given color. More...
 
-void delay (unsigned long ms)
void delay (unsigned long ms)
 Delay for the given number of milliseconds. More...
 
-void setTemperature (const struct CRGB &temp)
void setTemperature (const struct CRGB &temp)
 Set a global color temperature. More...
 
-void setCorrection (const struct CRGB &correction)
void setCorrection (const struct CRGB &correction)
 Set a global color correction. More...
 
-void setDither (uint8_t ditherMode=BINARY_DITHER)
void setDither (uint8_t ditherMode=BINARY_DITHER)
 Set the dithering mode. More...
 
-void setMaxRefreshRate (uint16_t refresh)
void setMaxRefreshRate (uint16_t refresh)
 Set the maximum refresh rate. More...
 
-void countFPS (int nFrames=25)
void countFPS (int nFrames=25)
 for debugging, will keep track of time between calls to countFPS, and every nFrames calls, it will update an internal counter for the current FPS. More...
 
-uint16_t getFPS ()
uint16_t getFPS ()
 Get the number of frames/second being written out. More...
 
-int count ()
int count ()
 Get how many controllers have been registered. More...
 
-CLEDControlleroperator[] (int x)
CLEDControlleroperator[] (int x)
 Get a reference to a registered controller. More...
 
-int size ()
int size ()
 Get the number of leds in the first controller. More...
 
-CRGBleds ()
CRGBleds ()
 Get a pointer to led data for the first controller. More...
 
- + + +

Static Public Member Functions

-static CLEDControlleraddLeds (CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
static CLEDControlleraddLeds (CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 Add a CLEDController instance to the world. More...
 
+ + + + + @@ -171,27 +178,792 @@ template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN> < template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER> + + + +template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> +template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE> +

+Adding SPI based controllers

template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE>
CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 Add an SPI based CLEDController instance to the world. More...
 
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+template<ESPIChipsets CHIPSET>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
-template<template< uint8_t DATA_PIN > class CHIPSET, uint8_t DATA_PIN>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
-template<template< uint8_t DATA_PIN, EOrder RGB_ORDER > class CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+ + + + + + + + + + + +

+Adding 3-wire led controllers

template<template< uint8_t DATA_PIN, EOrder RGB_ORDER > class CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 Add a clockless (aka 3wire, also DMX) based CLEDController instance to the world. More...
 
template<template< uint8_t DATA_PIN, EOrder RGB_ORDER > class CHIPSET, uint8_t DATA_PIN>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+template<template< uint8_t DATA_PIN > class CHIPSET, uint8_t DATA_PIN>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+template<EClocklessChipsets CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+ + + + + +template<OWS2811 CHIPSET, EOrder RGB_ORDER> + + + + + + + + +

+Adding 3rd party library controllers

template<template< EOrder RGB_ORDER > class CHIPSET, EOrder RGB_ORDER>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 Add a 3rd party library based CLEDController instance to the world. More...
 
template<template< EOrder RGB_ORDER > class CHIPSET>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
-template<template< EOrder RGB_ORDER > class CHIPSET, EOrder RGB_ORDER>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+template<OWS2811 CHIPSET>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+template<ESM CHIPSET>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+ + + + + +

+adding parallel output controllers

template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 Add a block based CLEDController instance to the world. More...
 
+template<EBlockChipsets CHIPSET, int NUM_LANES>
static CLEDControlleraddLeds (struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
 
+

Detailed Description

+

High level controller interface for FastLED.

+

This class manages controllers, global settings and trackings such as brightness, and refresh rates, and provides access functions for driving led data to controllers via the show/showColor/clear methods.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CLEDController & CFastLED::addLeds (CLEDControllerpLed,
struct CRGBdata,
int nLedsOrOffset,
int nLedsIfOffset = 0 
)
+
+static
+
+ +

Add a CLEDController instance to the world.

+

Exposed to the public to allow people to implement their own CLEDController objects or instances. There are two ways to call this method (as well as the other addLeds) variations. The first is with 3 arguments, in which case the arguments are the controller, a pointer to led data, and the number of leds used by this controller. The seocond is with 4 arguments, in which case the first two arguments are the same, the third argument is an offset into the CRGB data where this controller's CRGB data begins, and the fourth argument is the number of leds for this controller object.

Parameters
+ + + + + +
pLed- the led controller being added
data- base point to an array of CRGB data structures
nLedsOrOffset- number of leds (3 argument version) or offset into the data array
nLedsIfOffset- number of leds (4 argument version)
+
+
+
Returns
a reference to the added controller
+ +
+
+ +
+
+
+template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE>
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
CLEDController& CFastLED::addLeds (struct CRGBdata,
int nLedsOrOffset,
int nLedsIfOffset = 0 
)
+
+inline
+
+ +

Add an SPI based CLEDController instance to the world.

+

There are two ways to call this method (as well as the other addLeds) variations. The first is with 2 arguments, in which case the arguments are a pointer to led data, and the number of leds used by this controller. The seocond is with 3 arguments, in which case the first argument is the same, the second argument is an offset into the CRGB data where this controller's CRGB data begins, and the third argument is the number of leds for this controller object.

+

This method also takes a 1 to 5 template parameters for identifying the specific chipset, data and clock pins, RGB ordering, and SPI data rate

Parameters
+ + + + +
data- base point to an array of CRGB data structures
nLedsOrOffset- number of leds (3 argument version) or offset into the data array
nLedsIfOffset- number of leds (4 argument version)
+
+
+
Template Parameters
+ + + + + + +
CHIPSET- the chipset type
DATA_PIN- the optional data pin for the leds (if omitted, will default to the first hardware SPI MOSI pin)
CLOCK_PIN- the optional clock pin for the leds (if omitted, will default to the first hardware SPI clock pin)
RGB_ORDER- the rgb ordering for the leds (e.g. what order red, green, and blue data is written out in)
SPI_DATA_RATE- the data rate to drive the SPI clock at, defined using DATA_RATE_MHZ or DATA_RATE_KHZ macros
+
+
+
Returns
a reference to the added controller
+ +
+
+ +
+
+
+template<template< uint8_t DATA_PIN, EOrder RGB_ORDER > class CHIPSET, uint8_t DATA_PIN, EOrder RGB_ORDER>
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static CLEDController& CFastLED::addLeds (struct CRGBdata,
int nLedsOrOffset,
int nLedsIfOffset = 0 
)
+
+inlinestatic
+
+ +

Add a clockless (aka 3wire, also DMX) based CLEDController instance to the world.

+

There are two ways to call this method (as well as the other addLeds) variations. The first is with 2 arguments, in which case the arguments are a pointer to led data, and the number of leds used by this controller. The seocond is with 3 arguments, in which case the first argument is the same, the second argument is an offset into the CRGB data where this controller's CRGB data begins, and the third argument is the number of leds for this controller object.

+

This method also takes a 2 to 3 template parameters for identifying the specific chipset, data pin, and rgb ordering RGB ordering, and SPI data rate

Parameters
+ + + + +
data- base point to an array of CRGB data structures
nLedsOrOffset- number of leds (3 argument version) or offset into the data array
nLedsIfOffset- number of leds (4 argument version)
+
+
+
Template Parameters
+ + + + +
CHIPSET- the chipset type (required)
DATA_PIN- the optional data pin for the leds (required)
RGB_ORDER- the rgb ordering for the leds (e.g. what order red, green, and blue data is written out in)
+
+
+
Returns
a reference to the added controller
+ +
+
+ +
+
+
+template<template< EOrder RGB_ORDER > class CHIPSET, EOrder RGB_ORDER>
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static CLEDController& CFastLED::addLeds (struct CRGBdata,
int nLedsOrOffset,
int nLedsIfOffset = 0 
)
+
+inlinestatic
+
+ +

Add a 3rd party library based CLEDController instance to the world.

+

There are two ways to call this method (as well as the other addLeds) variations. The first is with 2 arguments, in which case the arguments are a pointer to led data, and the number of leds used by this controller. The seocond is with 3 arguments, in which case the first argument is the same, the second argument is an offset into the CRGB data where this controller's CRGB data begins, and the third argument is the number of leds for this controller object. This class includes the SmartMatrix and OctoWS2811 based controllers

+

This method also takes a 1 to 2 template parameters for identifying the specific chipset and rgb ordering RGB ordering, and SPI data rate

Parameters
+ + + + +
data- base point to an array of CRGB data structures
nLedsOrOffset- number of leds (3 argument version) or offset into the data array
nLedsIfOffset- number of leds (4 argument version)
+
+
+
Template Parameters
+ + + +
CHIPSET- the chipset type (required)
RGB_ORDER- the rgb ordering for the leds (e.g. what order red, green, and blue data is written out in)
+
+
+
Returns
a reference to the added controller
+ +
+
+ +
+
+
+template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER>
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static CLEDController& CFastLED::addLeds (struct CRGBdata,
int nLedsOrOffset,
int nLedsIfOffset = 0 
)
+
+inlinestatic
+
+ +

Add a block based CLEDController instance to the world.

+

There are two ways to call this method (as well as the other addLeds) variations. The first is with 2 arguments, in which case the arguments are a pointer to led data, and the number of leds used by this controller. The seocond is with 3 arguments, in which case the first argument is the same, the second argument is an offset into the CRGB data where this controller's CRGB data begins, and the third argument is the number of leds for this controller object.

+

This method also takes a 2 to 3 template parameters for identifying the specific chipset and rgb ordering RGB ordering, and SPI data rate

Parameters
+ + + + +
data- base point to an array of CRGB data structures
nLedsOrOffset- number of leds (3 argument version) or offset into the data array
nLedsIfOffset- number of leds (4 argument version)
+
+
+
Template Parameters
+ + + + +
CHIPSET- the chipset/port type (required)
NUM_LANES- how many parallel lanes of output to write
RGB_ORDER- the rgb ordering for the leds (e.g. what order red, green, and blue data is written out in)
+
+
+
Returns
a reference to the added controller
+ +
+
+ +
+
+ + + + + + + +
int CFastLED::count ()
+
+ +

Get how many controllers have been registered.

+
Returns
the number of controllers (strips) that have been added with addLeds
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::countFPS (int nFrames = 25)
+
+ +

for debugging, will keep track of time between calls to countFPS, and every nFrames calls, it will update an internal counter for the current FPS.

+
Todo:
make this a rolling counter
Parameters
+ + +
nFrames- how many frames to time for determining FPS
+
+
+
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::delay (unsigned long ms)
+
+ +

Delay for the given number of milliseconds.

+

Provided to allow the library to be used on platforms that don't have a delay function (to allow code to be more portable)

Parameters
+ + +
msthe number of milliseconds to pause for
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
uint8_t CFastLED::getBrightness ()
+
+inline
+
+ +

Get the current global brightness setting.

+
Returns
the current global brightness value
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
uint16_t CFastLED::getFPS ()
+
+inline
+
+ +

Get the number of frames/second being written out.

+
Returns
the most recently computed FPS value
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
CRGB* CFastLED::leds ()
+
+inline
+
+ +

Get a pointer to led data for the first controller.

+
Returns
pointer to the CRGB buffer for the first controller
+ +
+
+ +
+
+ + + + + + + + +
CLEDController & CFastLED::operator[] (int x)
+
+ +

Get a reference to a registered controller.

+
Returns
a reference to the Nth controller
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void CFastLED::setBrightness (uint8_t scale)
+
+inline
+
+ +

Set the global brightness scaling.

+
Parameters
+ + +
scalea 0-255 value for how much to scale all leds before writing them out
+
+
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::setCorrection (const struct CRGBcorrection)
+
+ +

Set a global color correction.

+

Sets the color correction for all added led strips, overriding whatever previous color correction those controllers may have had.

Parameters
+ + +
correctionA CRGB structure describin the color correction.
+
+
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::setDither (uint8_t ditherMode = BINARY_DITHER)
+
+ +

Set the dithering mode.

+

Sets the dithering mode for all added led strips, overriding whatever previous dithering option those controllers may have had.

Parameters
+ + +
ditherMode- what type of dithering to use, either BINARY_DITHER or DISABLE_DITHER
+
+
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::setMaxRefreshRate (uint16_t refresh)
+
+ +

Set the maximum refresh rate.

+

This is global for all leds. Attempts to call show faster than this rate will simply wait. Defaults to 400Hz. Set to 0 to have no maximum rate.

Parameters
+ + +
refresh- maximum refresh rate in hz
+
+
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::setTemperature (const struct CRGBtemp)
+
+ +

Set a global color temperature.

+

Sets the color temperature for all added led strips, overriding whatever previous color temperature those controllers may have had

Parameters
+ + +
tempA CRGB structure describing the color temperature
+
+
+ +
+
+ +
+
+ + + + + + + + +
void CFastLED::show (uint8_t scale)
+
+ +

Update all our controllers with the current led colors, using the passed in brightness.

+
Parameters
+ + +
scaletemporarily override the scale
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void CFastLED::showColor (const struct CRGBcolor,
uint8_t scale 
)
+
+ +

Set all leds on all controllers to the given color/scale.

+
Parameters
+ + + +
colorwhat color to set the leds to
scalewhat brightness scale to show at
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void CFastLED::showColor (const struct CRGBcolor)
+
+inline
+
+ +

Set all leds on all controllers to the given color.

+
Parameters
+ + +
colorwhat color to set the leds to
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
int CFastLED::size ()
+
+inline
+
+ +

Get the number of leds in the first controller.

+
Returns
the number of LEDs in the first controller
+ +
+

The documentation for this class was generated from the following files:
diff --git a/docs/3.1/class_c_fast_noise16-members.html b/docs/3.1/class_c_fast_noise16-members.html new file mode 100644 index 00000000..98c14ed5 --- /dev/null +++ b/docs/3.1/class_c_fast_noise16-members.html @@ -0,0 +1,112 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
CFastNoise16 Member List
+
+
+ +

This is the complete list of members for CFastNoise16, including all inherited members.

+ + + + + + + + + + + + +
advance(int32_t x, int32_t y, int32_t z) (defined in CFastNoise16)CFastNoise16
getOrigin(uint32_t &x, uint32_t &y, uint32_t &z) (defined in CFastNoise16)CFastNoise16
getOrigin(uint32_t &x, uint32_t &y) (defined in CFastNoise16)CFastNoise16
getOrigin(uint32_t &x) (defined in CFastNoise16)CFastNoise16
getTime() (defined in CFastNoise16)CFastNoise16
getX() (defined in CFastNoise16)CFastNoise16
getY() (defined in CFastNoise16)CFastNoise16
getZ() (defined in CFastNoise16)CFastNoise16
setOrigin(uint32_t x, uint32_t y, uint32_t z) (defined in CFastNoise16)CFastNoise16
setOrigin(uint32_t x, uint32_t y) (defined in CFastNoise16)CFastNoise16
setOrigin(uint32_t x) (defined in CFastNoise16)CFastNoise16
+ + + + diff --git a/docs/3.1/class_c_fast_noise16.html b/docs/3.1/class_c_fast_noise16.html new file mode 100644 index 00000000..8ab2d3a1 --- /dev/null +++ b/docs/3.1/class_c_fast_noise16.html @@ -0,0 +1,149 @@ + + + + + + +FastLED: CFastNoise16 Class Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
CFastNoise16 Class Reference
+
+
+ +

Class for accessing 16 bit noise. + More...

+ +

#include <noise.h>

+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+CFastNoise16setOrigin (uint32_t x, uint32_t y, uint32_t z)
 
+CFastNoise16setOrigin (uint32_t x, uint32_t y)
 
+CFastNoise16setOrigin (uint32_t x)
 
+uint32_t getX ()
 
+uint32_t getY ()
 
+uint32_t getZ ()
 
+uint32_t getTime ()
 
+uint32_t getOrigin (uint32_t &x, uint32_t &y, uint32_t &z)
 
+uint32_t getOrigin (uint32_t &x, uint32_t &y)
 
+uint32_t getOrigin (uint32_t &x)
 
+CFastNoise16advance (int32_t x, int32_t y, int32_t z)
 
+

Detailed Description

+

Class for accessing 16 bit noise.

+

Provides methods for setting origin, scale, frequency, alplitude, time, octave blurring

+

The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_c_h_s_v_palette16-members.html b/docs/3.1/class_c_h_s_v_palette16-members.html index 4a3507cd..233c1f16 100644 --- a/docs/3.1/class_c_h_s_v_palette16-members.html +++ b/docs/3.1/class_c_h_s_v_palette16-members.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class_c_h_s_v_palette16.html b/docs/3.1/class_c_h_s_v_palette16.html index 629a4498..898d8302 100644 --- a/docs/3.1/class_c_h_s_v_palette16.html +++ b/docs/3.1/class_c_h_s_v_palette16.html @@ -149,7 +149,7 @@ Public Attributes diff --git a/docs/3.1/class_c_h_s_v_palette256-members.html b/docs/3.1/class_c_h_s_v_palette256-members.html index 411143a9..66a7ae02 100644 --- a/docs/3.1/class_c_h_s_v_palette256-members.html +++ b/docs/3.1/class_c_h_s_v_palette256-members.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class_c_h_s_v_palette256.html b/docs/3.1/class_c_h_s_v_palette256.html index 33facb30..0cb0966d 100644 --- a/docs/3.1/class_c_h_s_v_palette256.html +++ b/docs/3.1/class_c_h_s_v_palette256.html @@ -155,7 +155,7 @@ Public Attributes diff --git a/docs/3.1/class_c_l_e_d_controller-members.html b/docs/3.1/class_c_l_e_d_controller-members.html index a9474093..242937ed 100644 --- a/docs/3.1/class_c_l_e_d_controller-members.html +++ b/docs/3.1/class_c_l_e_d_controller-members.html @@ -118,7 +118,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline show(const struct CRGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual - show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline + show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual + show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline + show(const struct CARGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline showColor(const struct CRGB &data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline @@ -127,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class_c_l_e_d_controller.html b/docs/3.1/class_c_l_e_d_controller.html index 86112294..338d3f5e 100644 --- a/docs/3.1/class_c_l_e_d_controller.html +++ b/docs/3.1/class_c_l_e_d_controller.html @@ -96,6 +96,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+

Base definition for an LED controller. + More...

+

#include <controller.h>

Inheritance diagram for CLEDController:
@@ -103,13 +106,14 @@ Inheritance diagram for CLEDController:
-APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > -DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > -LPD8806Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > -P9813Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > -SM16716Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > -WS2801Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > -WS2803Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > +APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > +DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > +DMXSerialController< RGB_ORDER > +DMXSimpleController< DATA_PIN, RGB_ORDER > +LPD8806Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > +P9813Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > +SM16716Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED > +WS2801Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >
@@ -136,6 +140,9 @@ void  + + @@ -193,6 +200,9 @@ virtual void  + +
showColor (const
CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
CLEDControllersetLeds (CRGB *data, int nLeds)
 
showColor
virtual void show (const struct CRGB *data, int nLeds, CRGB scale)=0
 
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
@@ -231,7 +241,8 @@ class 

Protected Attributes

CFastLED 

Detailed Description

-

Base definition for an LED controller. Pretty much the methods that every LED controller object will make available. Note that the showARGB method is not impelemented for all controllers yet. Note also the methods for eventual checking of background writing of data (I'm looking at you, teensy 3.0 DMA controller!). If you want to pass LED controllers around to methods, make them references to this type, keeps your code saner. However, most people won't be seeing/using these objects directly at all

+

Base definition for an LED controller.

+

Pretty much the methods that every LED controller object will make available. Note that the showARGB method is not impelemented for all controllers yet. Note also the methods for eventual checking of background writing of data (I'm looking at you, teensy 3.0 DMA controller!). If you want to pass LED controllers around to methods, make them references to this type, keeps your code saner. However, most people won't be seeing/using these objects directly at all


The documentation for this class was generated from the following files:
diff --git a/docs/3.1/class_c_min_wait.html b/docs/3.1/class_c_min_wait.html index f4e82d5f..684008e8 100644 --- a/docs/3.1/class_c_min_wait.html +++ b/docs/3.1/class_c_min_wait.html @@ -106,7 +106,7 @@ void mark () diff --git a/docs/3.1/class_c_r_g_b_palette16-members.html b/docs/3.1/class_c_r_g_b_palette16-members.html index f2155fb6..7d7f14df 100644 --- a/docs/3.1/class_c_r_g_b_palette16-members.html +++ b/docs/3.1/class_c_r_g_b_palette16-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class_c_r_g_b_palette16.html b/docs/3.1/class_c_r_g_b_palette16.html index 154506e2..28fa1916 100644 --- a/docs/3.1/class_c_r_g_b_palette16.html +++ b/docs/3.1/class_c_r_g_b_palette16.html @@ -167,7 +167,7 @@ Public Attributes diff --git a/docs/3.1/class_c_r_g_b_palette256-members.html b/docs/3.1/class_c_r_g_b_palette256-members.html index 35005d38..0f292625 100644 --- a/docs/3.1/class_c_r_g_b_palette256-members.html +++ b/docs/3.1/class_c_r_g_b_palette256-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class_c_r_g_b_palette256.html b/docs/3.1/class_c_r_g_b_palette256.html index 6fab0fcb..290d968d 100644 --- a/docs/3.1/class_c_r_g_b_palette256.html +++ b/docs/3.1/class_c_r_g_b_palette256.html @@ -173,7 +173,7 @@ Public Attributes diff --git a/docs/3.1/class_d_a_t_a___n_o_p-members.html b/docs/3.1/class_d_a_t_a___n_o_p-members.html index a9c2f774..49d43762 100644 --- a/docs/3.1/class_d_a_t_a___n_o_p-members.html +++ b/docs/3.1/class_d_a_t_a___n_o_p-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/3.1/class_d_a_t_a___n_o_p.html b/docs/3.1/class_d_a_t_a___n_o_p.html index efd72c5e..1b81a577 100644 --- a/docs/3.1/class_d_a_t_a___n_o_p.html +++ b/docs/3.1/class_d_a_t_a___n_o_p.html @@ -92,6 +92,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+

Some of the SPI controllers will need to perform a transform on each byte before doing anyting with it. + More...

+

#include <fastspi_types.h>

@@ -113,7 +116,8 @@ static register uint8_t 

sc
 

Detailed Description

-

Some of the SPI controllers will need to perform a transform on each byte before doing anyting with it. Creating a class of this form and passing it in as a template parameter to writeBytes/writeBytes3 below will ensure that the body of this method will get called on every byte worked on. Recommendation, make the adjust method aggressively inlined.

+

Some of the SPI controllers will need to perform a transform on each byte before doing anyting with it.

+

Creating a class of this form and passing it in as a template parameter to writeBytes/writeBytes3 below will ensure that the body of this method will get called on every byte worked on. Recommendation, make the adjust method aggressively inlined.

TODO: Convinience macro for building these


The documentation for this class was generated from the following file:
diff --git a/docs/3.1/class_d_m_x_s_e_r_i_a_l-members.html b/docs/3.1/class_d_m_x_s_e_r_i_a_l-members.html new file mode 100644 index 00000000..b05f017d --- /dev/null +++ b/docs/3.1/class_d_m_x_s_e_r_i_a_l-members.html @@ -0,0 +1,136 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
DMXSERIAL< RGB_ORDER > Member List
+
+
+ +

This is the complete list of members for DMXSERIAL< RGB_ORDER >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
clearLedData() (defined in CLEDController)CLEDControllerinline
clearLeds(int nLeds) (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
CLEDController() (defined in CLEDController)CLEDControllerinline
getAdjustment(uint8_t scale) (defined in CLEDController)CLEDControllerinline
getCorrection() (defined in CLEDController)CLEDControllerinline
getDither() (defined in CLEDController)CLEDControllerinline
getTemperature() (defined in CLEDController)CLEDControllerinline
head() (defined in CLEDController)CLEDControllerinlinestatic
init() (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
leds() (defined in CLEDController)CLEDControllerinline
m_ColorCorrection (defined in CLEDController)CLEDControllerprotected
m_ColorTemperature (defined in CLEDController)CLEDControllerprotected
m_Data (defined in CLEDController)CLEDControllerprotected
m_DitherMode (defined in CLEDController)CLEDControllerprotected
m_nLeds (defined in CLEDController)CLEDControllerprotected
m_pHead (defined in CLEDController)CLEDControllerprotectedstatic
m_pNext (defined in CLEDController)CLEDControllerprotected
m_pTail (defined in CLEDController)CLEDControllerprotectedstatic
next() (defined in CLEDController)CLEDControllerinline
operator[](int x) (defined in CLEDController)CLEDControllerinline
setCorrection(CRGB correction) (defined in CLEDController)CLEDControllerinline
setCorrection(LEDColorCorrection correction) (defined in CLEDController)CLEDControllerinline
setDither(uint8_t ditherMode=BINARY_DITHER) (defined in CLEDController)CLEDControllerinline
setLeds(CRGB *data, int nLeds) (defined in CLEDController)CLEDControllerinline
setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline
setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline
show(const struct CRGB *data, int nLeds, CRGB scale) (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
show(const struct CARGB *data, int nLeds, uint8_t scale=255)=0 (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >pure virtual
show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual
show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
size() (defined in CLEDController)CLEDControllerinline
+ + + + diff --git a/docs/3.1/class_d_m_x_s_e_r_i_a_l.html b/docs/3.1/class_d_m_x_s_e_r_i_a_l.html new file mode 100644 index 00000000..55cae141 --- /dev/null +++ b/docs/3.1/class_d_m_x_s_e_r_i_a_l.html @@ -0,0 +1,228 @@ + + + + + + +FastLED: DMXSERIAL< RGB_ORDER > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
DMXSERIAL< RGB_ORDER > Class Template Reference
+
+
+
+Inheritance diagram for DMXSERIAL< RGB_ORDER >:
+
+
+ + +DMXSerialController< RGB_ORDER > +CLEDController + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Member Functions inherited from DMXSerialController< RGB_ORDER >
+virtual void init ()
 
+virtual void clearLeds (int nLeds)
 
+virtual void showColor (const struct CRGB &data, int nLeds, CRGB scale)
 
+virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
+virtual void show (const struct CARGB *data, int nLeds, uint8_t scale=255)=0
 
- Public Member Functions inherited from CLEDController
+void show (const struct CRGB *data, int nLeds, uint8_t brightness)
 
+void showColor (const struct CRGB &data, int nLeds, uint8_t brightness)
 
+void showLeds (uint8_t brightness=255)
 
+void showColor (const struct CRGB &data, uint8_t brightness=255)
 
+CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
+CLEDControllersetLeds (CRGB *data, int nLeds)
 
+void clearLedData ()
 
+int size ()
 
+CRGBleds ()
 
+CRGBoperator[] (int x)
 
+CLEDControllersetDither (uint8_t ditherMode=BINARY_DITHER)
 
+uint8_t getDither ()
 
+CLEDControllersetCorrection (CRGB correction)
 
+CLEDControllersetCorrection (LEDColorCorrection correction)
 
+CRGB getCorrection ()
 
+CLEDControllersetTemperature (CRGB temperature)
 
+CLEDControllersetTemperature (ColorTemperature temperature)
 
+CRGB getTemperature ()
 
+CRGB getAdjustment (uint8_t scale)
 
- Static Public Member Functions inherited from CLEDController
+static CLEDControllerhead ()
 
- Protected Member Functions inherited from CLEDController
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
- Protected Attributes inherited from CLEDController
+CRGBm_Data
 
+CLEDControllerm_pNext
 
+CRGB m_ColorCorrection
 
+CRGB m_ColorTemperature
 
+EDitherMode m_DitherMode
 
+int m_nLeds
 
- Static Protected Attributes inherited from CLEDController
+static CLEDControllerm_pHead = NULL
 
+static CLEDControllerm_pTail = NULL
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_d_m_x_s_e_r_i_a_l.png b/docs/3.1/class_d_m_x_s_e_r_i_a_l.png new file mode 100644 index 00000000..f8784bfd Binary files /dev/null and b/docs/3.1/class_d_m_x_s_e_r_i_a_l.png differ diff --git a/docs/3.1/class_d_m_x_s_i_m_p_l_e-members.html b/docs/3.1/class_d_m_x_s_i_m_p_l_e-members.html new file mode 100644 index 00000000..e316de20 --- /dev/null +++ b/docs/3.1/class_d_m_x_s_i_m_p_l_e-members.html @@ -0,0 +1,136 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
DMXSIMPLE< DATA_PIN, RGB_ORDER > Member List
+
+
+ +

This is the complete list of members for DMXSIMPLE< DATA_PIN, RGB_ORDER >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
clearLedData() (defined in CLEDController)CLEDControllerinline
clearLeds(int nLeds) (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlinevirtual
CLEDController() (defined in CLEDController)CLEDControllerinline
getAdjustment(uint8_t scale) (defined in CLEDController)CLEDControllerinline
getCorrection() (defined in CLEDController)CLEDControllerinline
getDither() (defined in CLEDController)CLEDControllerinline
getTemperature() (defined in CLEDController)CLEDControllerinline
head() (defined in CLEDController)CLEDControllerinlinestatic
init() (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlinevirtual
leds() (defined in CLEDController)CLEDControllerinline
m_ColorCorrection (defined in CLEDController)CLEDControllerprotected
m_ColorTemperature (defined in CLEDController)CLEDControllerprotected
m_Data (defined in CLEDController)CLEDControllerprotected
m_DitherMode (defined in CLEDController)CLEDControllerprotected
m_nLeds (defined in CLEDController)CLEDControllerprotected
m_pHead (defined in CLEDController)CLEDControllerprotectedstatic
m_pNext (defined in CLEDController)CLEDControllerprotected
m_pTail (defined in CLEDController)CLEDControllerprotectedstatic
next() (defined in CLEDController)CLEDControllerinline
operator[](int x) (defined in CLEDController)CLEDControllerinline
setCorrection(CRGB correction) (defined in CLEDController)CLEDControllerinline
setCorrection(LEDColorCorrection correction) (defined in CLEDController)CLEDControllerinline
setDither(uint8_t ditherMode=BINARY_DITHER) (defined in CLEDController)CLEDControllerinline
setLeds(CRGB *data, int nLeds) (defined in CLEDController)CLEDControllerinline
setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline
setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline
show(const struct CRGB *data, int nLeds, CRGB scale) (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlineprotectedvirtual
show(const struct CARGB *data, int nLeds, uint8_t scale=255)=0 (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >protectedpure virtual
show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual
show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlineprotectedvirtual
showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
size() (defined in CLEDController)CLEDControllerinline
+ + + + diff --git a/docs/3.1/class_d_m_x_s_i_m_p_l_e.html b/docs/3.1/class_d_m_x_s_i_m_p_l_e.html new file mode 100644 index 00000000..688ce4e7 --- /dev/null +++ b/docs/3.1/class_d_m_x_s_i_m_p_l_e.html @@ -0,0 +1,229 @@ + + + + + + +FastLED: DMXSIMPLE< DATA_PIN, RGB_ORDER > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
DMXSIMPLE< DATA_PIN, RGB_ORDER > Class Template Reference
+
+
+
+Inheritance diagram for DMXSIMPLE< DATA_PIN, RGB_ORDER >:
+
+
+ + +DMXSimpleController< DATA_PIN, RGB_ORDER > +CLEDController + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Member Functions inherited from DMXSimpleController< DATA_PIN, RGB_ORDER >
+virtual void init ()
 
+virtual void clearLeds (int nLeds)
 
- Public Member Functions inherited from CLEDController
+void show (const struct CRGB *data, int nLeds, uint8_t brightness)
 
+void showColor (const struct CRGB &data, int nLeds, uint8_t brightness)
 
+void showLeds (uint8_t brightness=255)
 
+void showColor (const struct CRGB &data, uint8_t brightness=255)
 
+CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
+CLEDControllersetLeds (CRGB *data, int nLeds)
 
+void clearLedData ()
 
+int size ()
 
+CRGBleds ()
 
+CRGBoperator[] (int x)
 
+CLEDControllersetDither (uint8_t ditherMode=BINARY_DITHER)
 
+uint8_t getDither ()
 
+CLEDControllersetCorrection (CRGB correction)
 
+CLEDControllersetCorrection (LEDColorCorrection correction)
 
+CRGB getCorrection ()
 
+CLEDControllersetTemperature (CRGB temperature)
 
+CLEDControllersetTemperature (ColorTemperature temperature)
 
+CRGB getTemperature ()
 
+CRGB getAdjustment (uint8_t scale)
 
- Static Public Member Functions inherited from CLEDController
+static CLEDControllerhead ()
 
- Protected Member Functions inherited from DMXSimpleController< DATA_PIN, RGB_ORDER >
+virtual void showColor (const struct CRGB &data, int nLeds, CRGB scale)
 
+virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
+virtual void show (const struct CARGB *data, int nLeds, uint8_t scale=255)=0
 
- Protected Member Functions inherited from CLEDController
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
- Protected Attributes inherited from CLEDController
+CRGBm_Data
 
+CLEDControllerm_pNext
 
+CRGB m_ColorCorrection
 
+CRGB m_ColorTemperature
 
+EDitherMode m_DitherMode
 
+int m_nLeds
 
- Static Protected Attributes inherited from CLEDController
+static CLEDControllerm_pHead = NULL
 
+static CLEDControllerm_pTail = NULL
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_d_m_x_s_i_m_p_l_e.png b/docs/3.1/class_d_m_x_s_i_m_p_l_e.png new file mode 100644 index 00000000..862cc09e Binary files /dev/null and b/docs/3.1/class_d_m_x_s_i_m_p_l_e.png differ diff --git a/docs/3.1/class_d_m_x_serial_controller-members.html b/docs/3.1/class_d_m_x_serial_controller-members.html new file mode 100644 index 00000000..e15381f2 --- /dev/null +++ b/docs/3.1/class_d_m_x_serial_controller-members.html @@ -0,0 +1,136 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
DMXSerialController< RGB_ORDER > Member List
+
+
+ +

This is the complete list of members for DMXSerialController< RGB_ORDER >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
clearLedData() (defined in CLEDController)CLEDControllerinline
clearLeds(int nLeds) (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
CLEDController() (defined in CLEDController)CLEDControllerinline
getAdjustment(uint8_t scale) (defined in CLEDController)CLEDControllerinline
getCorrection() (defined in CLEDController)CLEDControllerinline
getDither() (defined in CLEDController)CLEDControllerinline
getTemperature() (defined in CLEDController)CLEDControllerinline
head() (defined in CLEDController)CLEDControllerinlinestatic
init() (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
leds() (defined in CLEDController)CLEDControllerinline
m_ColorCorrection (defined in CLEDController)CLEDControllerprotected
m_ColorTemperature (defined in CLEDController)CLEDControllerprotected
m_Data (defined in CLEDController)CLEDControllerprotected
m_DitherMode (defined in CLEDController)CLEDControllerprotected
m_nLeds (defined in CLEDController)CLEDControllerprotected
m_pHead (defined in CLEDController)CLEDControllerprotectedstatic
m_pNext (defined in CLEDController)CLEDControllerprotected
m_pTail (defined in CLEDController)CLEDControllerprotectedstatic
next() (defined in CLEDController)CLEDControllerinline
operator[](int x) (defined in CLEDController)CLEDControllerinline
setCorrection(CRGB correction) (defined in CLEDController)CLEDControllerinline
setCorrection(LEDColorCorrection correction) (defined in CLEDController)CLEDControllerinline
setDither(uint8_t ditherMode=BINARY_DITHER) (defined in CLEDController)CLEDControllerinline
setLeds(CRGB *data, int nLeds) (defined in CLEDController)CLEDControllerinline
setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline
setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline
show(const struct CRGB *data, int nLeds, CRGB scale) (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
show(const struct CARGB *data, int nLeds, uint8_t scale=255)=0 (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >pure virtual
show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual
show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in DMXSerialController< RGB_ORDER >)DMXSerialController< RGB_ORDER >inlinevirtual
showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
size() (defined in CLEDController)CLEDControllerinline
+ + + + diff --git a/docs/3.1/class_d_m_x_serial_controller.html b/docs/3.1/class_d_m_x_serial_controller.html new file mode 100644 index 00000000..4fc16738 --- /dev/null +++ b/docs/3.1/class_d_m_x_serial_controller.html @@ -0,0 +1,231 @@ + + + + + + +FastLED: DMXSerialController< RGB_ORDER > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
DMXSerialController< RGB_ORDER > Class Template Referenceabstract
+
+
+
+Inheritance diagram for DMXSerialController< RGB_ORDER >:
+
+
+ + +CLEDController +DMXSERIAL< RGB_ORDER > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual void init ()
 
+virtual void clearLeds (int nLeds)
 
+virtual void showColor (const struct CRGB &data, int nLeds, CRGB scale)
 
+virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
+virtual void show (const struct CARGB *data, int nLeds, uint8_t scale=255)=0
 
- Public Member Functions inherited from CLEDController
+void show (const struct CRGB *data, int nLeds, uint8_t brightness)
 
+void showColor (const struct CRGB &data, int nLeds, uint8_t brightness)
 
+void showLeds (uint8_t brightness=255)
 
+void showColor (const struct CRGB &data, uint8_t brightness=255)
 
+CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
+CLEDControllersetLeds (CRGB *data, int nLeds)
 
+void clearLedData ()
 
+int size ()
 
+CRGBleds ()
 
+CRGBoperator[] (int x)
 
+CLEDControllersetDither (uint8_t ditherMode=BINARY_DITHER)
 
+uint8_t getDither ()
 
+CLEDControllersetCorrection (CRGB correction)
 
+CLEDControllersetCorrection (LEDColorCorrection correction)
 
+CRGB getCorrection ()
 
+CLEDControllersetTemperature (CRGB temperature)
 
+CLEDControllersetTemperature (ColorTemperature temperature)
 
+CRGB getTemperature ()
 
+CRGB getAdjustment (uint8_t scale)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from CLEDController
+static CLEDControllerhead ()
 
- Protected Member Functions inherited from CLEDController
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
- Protected Attributes inherited from CLEDController
+CRGBm_Data
 
+CLEDControllerm_pNext
 
+CRGB m_ColorCorrection
 
+CRGB m_ColorTemperature
 
+EDitherMode m_DitherMode
 
+int m_nLeds
 
- Static Protected Attributes inherited from CLEDController
+static CLEDControllerm_pHead = NULL
 
+static CLEDControllerm_pTail = NULL
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_d_m_x_serial_controller.png b/docs/3.1/class_d_m_x_serial_controller.png new file mode 100644 index 00000000..db69579d Binary files /dev/null and b/docs/3.1/class_d_m_x_serial_controller.png differ diff --git a/docs/3.1/class_d_m_x_simple_controller-members.html b/docs/3.1/class_d_m_x_simple_controller-members.html new file mode 100644 index 00000000..e26b3a26 --- /dev/null +++ b/docs/3.1/class_d_m_x_simple_controller-members.html @@ -0,0 +1,136 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
DMXSimpleController< DATA_PIN, RGB_ORDER > Member List
+
+
+ +

This is the complete list of members for DMXSimpleController< DATA_PIN, RGB_ORDER >, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
clearLedData() (defined in CLEDController)CLEDControllerinline
clearLeds(int nLeds) (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlinevirtual
CLEDController() (defined in CLEDController)CLEDControllerinline
getAdjustment(uint8_t scale) (defined in CLEDController)CLEDControllerinline
getCorrection() (defined in CLEDController)CLEDControllerinline
getDither() (defined in CLEDController)CLEDControllerinline
getTemperature() (defined in CLEDController)CLEDControllerinline
head() (defined in CLEDController)CLEDControllerinlinestatic
init() (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlinevirtual
leds() (defined in CLEDController)CLEDControllerinline
m_ColorCorrection (defined in CLEDController)CLEDControllerprotected
m_ColorTemperature (defined in CLEDController)CLEDControllerprotected
m_Data (defined in CLEDController)CLEDControllerprotected
m_DitherMode (defined in CLEDController)CLEDControllerprotected
m_nLeds (defined in CLEDController)CLEDControllerprotected
m_pHead (defined in CLEDController)CLEDControllerprotectedstatic
m_pNext (defined in CLEDController)CLEDControllerprotected
m_pTail (defined in CLEDController)CLEDControllerprotectedstatic
next() (defined in CLEDController)CLEDControllerinline
operator[](int x) (defined in CLEDController)CLEDControllerinline
setCorrection(CRGB correction) (defined in CLEDController)CLEDControllerinline
setCorrection(LEDColorCorrection correction) (defined in CLEDController)CLEDControllerinline
setDither(uint8_t ditherMode=BINARY_DITHER) (defined in CLEDController)CLEDControllerinline
setLeds(CRGB *data, int nLeds) (defined in CLEDController)CLEDControllerinline
setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline
setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline
show(const struct CRGB *data, int nLeds, CRGB scale) (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlineprotectedvirtual
show(const struct CARGB *data, int nLeds, uint8_t scale=255)=0 (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >protectedpure virtual
show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual
show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in DMXSimpleController< DATA_PIN, RGB_ORDER >)DMXSimpleController< DATA_PIN, RGB_ORDER >inlineprotectedvirtual
showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline
showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline
size() (defined in CLEDController)CLEDControllerinline
+ + + + diff --git a/docs/3.1/class_d_m_x_simple_controller.html b/docs/3.1/class_d_m_x_simple_controller.html new file mode 100644 index 00000000..8dba6cc4 --- /dev/null +++ b/docs/3.1/class_d_m_x_simple_controller.html @@ -0,0 +1,235 @@ + + + + + + +FastLED: DMXSimpleController< DATA_PIN, RGB_ORDER > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
DMXSimpleController< DATA_PIN, RGB_ORDER > Class Template Referenceabstract
+
+
+
+Inheritance diagram for DMXSimpleController< DATA_PIN, RGB_ORDER >:
+
+
+ + +CLEDController +DMXSIMPLE< DATA_PIN, RGB_ORDER > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual void init ()
 
+virtual void clearLeds (int nLeds)
 
- Public Member Functions inherited from CLEDController
+void show (const struct CRGB *data, int nLeds, uint8_t brightness)
 
+void showColor (const struct CRGB &data, int nLeds, uint8_t brightness)
 
+void showLeds (uint8_t brightness=255)
 
+void showColor (const struct CRGB &data, uint8_t brightness=255)
 
+CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
+CLEDControllersetLeds (CRGB *data, int nLeds)
 
+void clearLedData ()
 
+int size ()
 
+CRGBleds ()
 
+CRGBoperator[] (int x)
 
+CLEDControllersetDither (uint8_t ditherMode=BINARY_DITHER)
 
+uint8_t getDither ()
 
+CLEDControllersetCorrection (CRGB correction)
 
+CLEDControllersetCorrection (LEDColorCorrection correction)
 
+CRGB getCorrection ()
 
+CLEDControllersetTemperature (CRGB temperature)
 
+CLEDControllersetTemperature (ColorTemperature temperature)
 
+CRGB getTemperature ()
 
+CRGB getAdjustment (uint8_t scale)
 
+ + + + + + + + + + +

+Protected Member Functions

+virtual void showColor (const struct CRGB &data, int nLeds, CRGB scale)
 
+virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
+virtual void show (const struct CARGB *data, int nLeds, uint8_t scale=255)=0
 
- Protected Member Functions inherited from CLEDController
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
+ + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from CLEDController
+static CLEDControllerhead ()
 
- Protected Attributes inherited from CLEDController
+CRGBm_Data
 
+CLEDControllerm_pNext
 
+CRGB m_ColorCorrection
 
+CRGB m_ColorTemperature
 
+EDitherMode m_DitherMode
 
+int m_nLeds
 
- Static Protected Attributes inherited from CLEDController
+static CLEDControllerm_pHead = NULL
 
+static CLEDControllerm_pTail = NULL
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_d_m_x_simple_controller.png b/docs/3.1/class_d_m_x_simple_controller.png new file mode 100644 index 00000000..f6325c08 Binary files /dev/null and b/docs/3.1/class_d_m_x_simple_controller.png differ diff --git a/docs/3.1/class_deep_pixel_controller-members.html b/docs/3.1/class_deep_pixel_controller-members.html index ad683a9e..2e2eb129 100644 --- a/docs/3.1/class_deep_pixel_controller-members.html +++ b/docs/3.1/class_deep_pixel_controller-members.html @@ -118,16 +118,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); setTemperature(CRGB temperature) (defined in CLEDController)CLEDControllerinline setTemperature(ColorTemperature temperature) (defined in CLEDController)CLEDControllerinline show(const struct CRGB *data, int nLeds, CRGB scale) (defined in DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlinevirtual + show(const struct CRGB *data, int nLeds, CRGB scale) (defined in DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlinevirtual + show(const struct CARGB *data, int nLeds, CRGB scale)=0 (defined in CLEDController)CLEDControllerprotectedpure virtual show(const struct CRGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline - showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlinevirtual - showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline - showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline - showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline - size() (defined in CLEDController)CLEDControllerinline + show(const struct CARGB *data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline + showColor(const struct CRGB &data, int nLeds, CRGB scale) (defined in DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >)DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >inlinevirtual + showColor(const struct CRGB &data, int nLeds, uint8_t brightness) (defined in CLEDController)CLEDControllerinline + showColor(const struct CRGB &data, uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline + showLeds(uint8_t brightness=255) (defined in CLEDController)CLEDControllerinline + size() (defined in CLEDController)CLEDControllerinline
diff --git a/docs/3.1/class_deep_pixel_controller.html b/docs/3.1/class_deep_pixel_controller.html index 7310b25d..2a120f3f 100644 --- a/docs/3.1/class_deep_pixel_controller.html +++ b/docs/3.1/class_deep_pixel_controller.html @@ -96,7 +96,7 @@ Inheritance diagram for DeepPixelController< DATA_PIN, CLOCK_PIN, RGB_ORDER,
-CLEDController +CLEDController
@@ -114,6 +114,9 @@ virtual void  + + @@ -130,6 +133,9 @@ void  + + @@ -179,6 +185,10 @@ Additional Inherited Members + + + @@ -212,7 +222,7 @@ static CLEDController *&# diff --git a/docs/3.1/class_fast_pin-members.html b/docs/3.1/class_fast_pin-members.html new file mode 100644 index 00000000..d8f0d7b0 --- /dev/null +++ b/docs/3.1/class_fast_pin-members.html @@ -0,0 +1,117 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+
showColor
virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
+virtual void show (const struct CRGB *data, int nLeds, CRGB scale)
 
- Public Member Functions inherited from CLEDController
void show (const struct CRGB *data, int nLeds, uint8_t brightness)
showColor (const
CLEDControllernext ()
 
+void show (const struct CARGB *data, int nLeds, uint8_t brightness)
 
CLEDControllersetLeds (CRGB *data, int nLeds)
 
static CLEDControllerhead ()
 
- Protected Member Functions inherited from CLEDController
+virtual void show (const struct CARGB *data, int nLeds, CRGB scale)=0
 
- Protected Attributes inherited from CLEDController
CRGBm_Data
+ + + + + +
+
FastLED +  3.1 +
+
+ + + + + + + + + + +
+ +
+ + +
+
+
FastPin< PIN > Member List
+
+
+ +

This is the complete list of members for FastPin< PIN >, including all inherited members.

+ + + + + + + + + + + + + + + + + +
fastset(register port_ptr_t port, register port_t val) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
hi() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
hi(register port_ptr_t port) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
hival() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
lo() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
lo(register port_ptr_t port) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
loval() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
mask() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
port() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
port_ptr_t typedef (defined in FastPin< PIN >)FastPin< PIN >
port_t typedef (defined in FastPin< PIN >)FastPin< PIN >
set(register port_t val) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
setInput() (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
setOutput() (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
strobe() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
toggle() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
+ + + + diff --git a/docs/3.1/class_fast_pin.html b/docs/3.1/class_fast_pin.html new file mode 100644 index 00000000..9292e761 --- /dev/null +++ b/docs/3.1/class_fast_pin.html @@ -0,0 +1,183 @@ + + + + + + +FastLED: FastPin< PIN > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
FastPin< PIN > Class Template Reference
+
+
+ +

The simplest level of Pin class. + More...

+ +

#include <fastpin.h>

+
+Inheritance diagram for FastPin< PIN >:
+
+
+ + +FastPinBB< PIN > + +
+ + + + + + +

+Public Types

+typedef volatile RwReg * port_ptr_t
 
+typedef RwReg port_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static void setOutput ()
 
+static void setInput ()
 
+static void hi () __attribute__((always_inline))
 
+static void lo () __attribute__((always_inline))
 
+static void strobe () __attribute__((always_inline))
 
+static void toggle () __attribute__((always_inline))
 
+static void hi (register port_ptr_t port) __attribute__((always_inline))
 
+static void lo (register port_ptr_t port) __attribute__((always_inline))
 
+static void set (register port_t val) __attribute__((always_inline))
 
+static void fastset (register port_ptr_t port, register port_t val) __attribute__((always_inline))
 
+static port_t hival () __attribute__((always_inline))
 
+static port_t loval () __attribute__((always_inline))
 
+static port_ptr_t port () __attribute__((always_inline))
 
+static port_t mask () __attribute__((always_inline))
 
+

Detailed Description

+

template<uint8_t PIN>
+class FastPin< PIN >

+ +

The simplest level of Pin class.

+

This relies on runtime functions durinig initialization to get the port/pin mask for the pin. Most of the accesses involve references to these static globals that get set up. This won't be the fastest set of pin operations, but it will provide pin level access on pretty much all arduino environments. In addition, it includes some methods to help optimize access in various ways. Namely, the versions of hi, lo, and fastset that take the port register as a passed in register variable (saving a global dereference), since these functions are aggressively inlined, that can help collapse out a lot of extraneous memory loads/dereferences.

+

In addition, if, while writing a bunch of data to a pin, you know no other pins will be getting written to, you can get/cache a value of the pin's port register and use that to do a full set to the register. This results in one being able to simply do a store to the register, vs. the load, and/or, and store that would be done normally.

+

There are platform specific instantiations of this class that provide direct i/o register access to pins for much higher speed pin twiddling.

+

Note that these classes are all static functions. So the proper usage is Pin<13>::hi(); or such. Instantiating objects is not recommended, as passing Pin objects around will likely -not- have the effect you're expecting.

+

The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_fast_pin.png b/docs/3.1/class_fast_pin.png new file mode 100644 index 00000000..85b93000 Binary files /dev/null and b/docs/3.1/class_fast_pin.png differ diff --git a/docs/3.1/class_fast_pin_b_b-members.html b/docs/3.1/class_fast_pin_b_b-members.html new file mode 100644 index 00000000..79db0b52 --- /dev/null +++ b/docs/3.1/class_fast_pin_b_b-members.html @@ -0,0 +1,117 @@ + + + + + + +FastLED: Member List + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
FastPinBB< PIN > Member List
+
+
+ +

This is the complete list of members for FastPinBB< PIN >, including all inherited members.

+ + + + + + + + + + + + + + + + + +
fastset(register port_ptr_t port, register port_t val) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
hi() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
hi(register port_ptr_t port) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
hival() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
lo() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
lo(register port_ptr_t port) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
loval() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
mask() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
port() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
port_ptr_t typedef (defined in FastPin< PIN >)FastPin< PIN >
port_t typedef (defined in FastPin< PIN >)FastPin< PIN >
set(register port_t val) __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
setInput() (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
setOutput() (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
strobe() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
toggle() __attribute__((always_inline)) (defined in FastPin< PIN >)FastPin< PIN >inlinestatic
+ + + + diff --git a/docs/3.1/class_fast_pin_b_b.html b/docs/3.1/class_fast_pin_b_b.html new file mode 100644 index 00000000..1cb6ef32 --- /dev/null +++ b/docs/3.1/class_fast_pin_b_b.html @@ -0,0 +1,166 @@ + + + + + + +FastLED: FastPinBB< PIN > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
FastLED +  3.1 +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
FastPinBB< PIN > Class Template Reference
+
+
+
+Inheritance diagram for FastPinBB< PIN >:
+
+
+ + +FastPin< PIN > + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from FastPin< PIN >
+typedef volatile RwReg * port_ptr_t
 
+typedef RwReg port_t
 
- Static Public Member Functions inherited from FastPin< PIN >
+static void setOutput ()
 
+static void setInput ()
 
+static void hi () __attribute__((always_inline))
 
+static void lo () __attribute__((always_inline))
 
+static void strobe () __attribute__((always_inline))
 
+static void toggle () __attribute__((always_inline))
 
+static void hi (register port_ptr_t port) __attribute__((always_inline))
 
+static void lo (register port_ptr_t port) __attribute__((always_inline))
 
+static void set (register port_t val) __attribute__((always_inline))
 
+static void fastset (register port_ptr_t port, register port_t val) __attribute__((always_inline))
 
+static port_t hival () __attribute__((always_inline))
 
+static port_t loval () __attribute__((always_inline))
 
+static port_ptr_t port () __attribute__((always_inline))
 
+static port_t mask () __attribute__((always_inline))
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/3.1/class_fast_pin_b_b.png b/docs/3.1/class_fast_pin_b_b.png new file mode 100644 index 00000000..2d610574 Binary files /dev/null and b/docs/3.1/class_fast_pin_b_b.png differ diff --git a/docs/3.1/class_g_w6205.html b/docs/3.1/class_g_w6205.html index 7716c71f..a4d6c0f3 100644 --- a/docs/3.1/class_g_w6205.html +++ b/docs/3.1/class_g_w6205.html @@ -93,7 +93,7 @@ Inheritance diagram for GW6205< DATA_PIN, RGB_ORDER >:
-GW6205Controller800Khz< DATA_PIN, RGB_ORDER > +GW6205Controller800Khz< DATA_PIN, RGB_ORDER >

The documentation for this class was generated from the following file: