-
Bild
Produktangebot WS2812 LED Matrix Modul
WS2812 LED 5050 RGB 8x8 64 Bit LED-Matrixmodul Kostenloser Versand 10.000+ verkauft 4.9 0,90€
in „China SUPER Bauteile-Schnäppchen Thread [V4]“ · Markt · · Screenshots
-
Bild
Schaltplan eines WS2812 RGB-LED-Anschlusses
100n C601, +5V, 18k R601, 1, 4, 2, 3, LED_RGB D, 4148 D1, DIN, VDD, DOUT, WS281, VSS, RGB, GND, D602
in „WS2812B LEDs flackern in Verbindung mit einen FU Motor“ · Analoge Elektronik und Schaltungstechnik · · Schaltpläne
-
Bild
Datenblatt Ausschnitt WS2812B LED Treiber
WS2812B Intelligent control LED integrated light source Note: The data of D1 is send by MCU,and D2, D3, D4 through pixel internal reshaping amplification to transmit. Composition of 24bit data: G7 G6 G5
in „Problem mit WS2812b 4-Layer Board“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Bild
Leiterplatte mit WS2812B-64 RGB LEDs
QYF728 WS2812B-64 Only ONE Pin 24 bit color 64 RGB LEDs V+ IN V- OUT QYF-728
in „China SUPER Bauteile-Schnäppchen Thread [V4]“ · Markt · · Platinenfotos
-
Bild
AliExpress Produktseite WS2812 LED Matrixmodul
1,30€ 6,10€ 78% günstiger WS2812 LED 5050 RGB 8x8 64 Bit LED-Matrixmodul 4.9 827 Bewertungen 5.000+ verkauft Kundenbewertungen (827) 4.9 5 Sterne 762 4 Sterne 38 3 Sterne 12 2 Sterne 1 1 Sterne 14
in „China SUPER Bauteile-Schnäppchen Thread [V4]“ · Markt · · Screenshots
-
Bild
Schaltplan für WS2812B LED-Matrix
D33 bis D64 WS2812B DIN DOUT QVDO GND Sheet: /Keypad LEDs/ File: keypad_leds.klcd_sch Size: A4 Date: Rev: Id: 3/4
in „Problem mit WS2812b 4-Layer Board“ · Mikrocontroller und Digitale Elektronik · · Schaltpläne
-
Bild
Schaltplan mit fünf WS2812B-5050RGB LEDs
LED1 WS2812B-5050RGB GND/VSS DIN DOUT VCC/VDD VCC GND LED2 WS2812B-5050RGB GND/VSS DIN DOUT VCC/VDD VCC GND LED3 WS2812B-5050RGB GND/VSS DIN DOUT VCC/VDD VCC GND LED4 WS2812B-5050RGB GND/VSS DIN DOUT VCC/VDD VCC GND LED5 WS2812B-5050RGB GND/VSS DIN DOUT VCC/VDD VCC GND
in „ESP32 und 240Stück WS2812B“ · Mikrocontroller und Digitale Elektronik · · Schaltpläne
-
Bild
Datenblattabschnitt WS2812B-V4 LED-Lichtquelle
WS2812B-V4 Intelligent control LED integrated light source Absolute Maximum Ratings Parameter Symbol Ratings Unit Power supply voltage VDD +3.7~+5.3 V Logical Input Voltage VI VDD-0.7~VDD+0.7 V Operation
in „Max Schaltpegel DIN NeoPixel WS2812b / WS2813“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Bild
Ausschnitt eines Datenblatts für WS2812B LED-Treiber
WS2812B Ver. No.: V5 Intelligent control LED integrated light source Absolute Maximum Ratings Parameter Symbol Ratings Unit Power supply voltage VDD +3.7~+5.3 V Logical Input Voltage VI VDD-0.3V~VDD+0.7
in „Max Schaltpegel DIN NeoPixel WS2812b / WS2813“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
ws2812.c
_t) ((WS2812_TIM_PERIOD_FLOAT * WS2812_T1H_TIME) / WS2812_TIM_PERIOD_TIME + 0.5) // 67 #define WS2812_T0L (uint16_t) ((WS2812_TIM_PERIOD_FLOAT * WS2812_T0L_TIME) / WS2812_TIM_PERIOD_TIME + 0.5) // 67 #define WS2812_T1L (uint16_t) ((WS2812_TIM_PERIOD_FLOAT * WS2812_T1L_TIME) / WS2812_TIM_PERIOD_TIME + 0.5) // 39 #define WS2812_PAUSE_LEN (uint16_t) (WS2812_PAUSE_TIME / WS2812_TIM_PERIOD_TIME + 1) // 40 /*----
in „WS2812B mit Lib von Martin Hubáček auf F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812_stm32f4.h
3 #define WS2812_OUT_PORT B #define WS2812_OUT_PIN 0 #define WS2812_TIM CAT(TIM, WS2812_TIMER_NR) #define WS2812_RCC_TIM CAT(RCC_APB1Periph_TIM, WS2812_TIMER_NR) #define WS2812_GPIO_AF_TIM CAT(GPIO_AF_TIM, WS2812
in „[STM32] Binäruhr bzw 12x4 RGB LED Display mit WS2812“ · Projekte & Code ·
-
Datei
ws2812_stm32f4.c
TIM_OCPolarity_High; timocinit.TIM_OutputState = TIM_OutputState_Enable; timocinit.TIM_Pulse = 0; WS2812_TIM_OC_INIT(WS2812_TIM, &timocinit); WS2812_TIM_OC_PRECFG(WS2812_TIM, TIM_OCPreload_Enable); TIM_ARRPreloadConfig(WS2812_TIM, ENABLE); TIM_CCxCmd(WS2812_TIM, WS2812_TIM_CHANNEL, TIM_CCx_Enable);
in „[STM32] Binäruhr bzw 12x4 RGB LED Display mit WS2812“ · Projekte & Code ·
-
Datei
0001-WS2812-fix-too-short-reset-pulse.patch
EndlessFork <EndlessFork@users.noreply.github.com> Date: Wed, 5 Apr 2017 21:25:54 +0200 Subject: [PATCH] WS2812: fix too short reset pulse --- src/ws2812/ws2812.c | 122 ++++++++++++++++++++++++---------------------------- 1 file changed, 56 insertions(+), 66 deletions(-) diff --git a/src/ws2812/ws2812.c b/src/ws2812/ws2812.c index 8ade75b..acfee44 100644 --- a/src/ws2812/ws2812.c +++ b/src/ws2812/ws2812.c @@ -77,13 +77,15 @@ static volatile uint_fast16_t current_led_offset; static volatile uint_fast16_t current_data_pause_len
-
Datei
ws2812b.c
*/ #include <string.h> //#include "stm32f3xx_hal.h" #include "stm32f1xx_hal.h" #include "ws2812b.h" extern WS2812_Struct ws2812b; // Define source arrays for my DMAs uint32_t WS2812_IO_High[] = { WS2812B_PINS }; uint32_t WS2812_IO_Low[] = {WS2812B_PINS << 16}; // WS2812 framebuffer - buffer
in „WS2812B mit Lib von Martin Hubáček auf F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
burstsequence_8mhz.h
#ifdef WS2812_SINGLESEQUENCES void onlyASMSymbol_WS2812_sequence_LLL(void) __attribute__ ((naked,used,noinline,aligned (512))); void onlyASMSymbol_WS2812_sequence_LLL(void) { asm volatile ( #else " onlyASMSymbol_WS2812
in „AVR ASM ws2811 / ws2812 Ansteuerung mit FastPWM“ · Projekte & Code ·
-
Datei
ws2812.c
(512))); void onlyASMSymbol_WS2812_sequence_LLL(void); void onlyASMSymbol_WS2812_sequence_LLH(void); void onlyASMSymbol_WS2812_sequence_LHL(void); void onlyASMSymbol_WS2812_sequence_LHH(void); void onlyASMSymbol_WS2812_sequence_HLL
in „AVR ASM ws2811 / ws2812 Ansteuerung mit FastPWM“ · Projekte & Code ·
-
Datei
ws2812.h
#ifndef WS2812_H__6d5a167d9974483bbda3d548072a3557 #define WS2812_H__6d5a167d9974483bbda3d548072a3557 1 #include <stdint.h> #include <avr/io.h> #include <avr/pgmspace.h> #ifndef WS2812_DO_DDR # define WS2812_DO_DDR DDRD #endif #ifndef WS2812_DO_PORT # define WS2812_DO_PORT PORTD #endif #ifndef WS2812_DO_BIT # define WS2812_DO_BIT PD3 #endif #ifdef WS2812_HAVECOMPILER # define WS2812_WITHCOMPILER 1 #else # define WS2812_WITHCOMPILER 0
in „AVR ASM ws2811 / ws2812 Ansteuerung mit FastPWM“ · Projekte & Code ·
-
Datei
burstsequence_16mhz.h
16MHz version, based on 8MHz version */ /* busy stuffing adapted properly to correct timing */ #ifdef WS2812_SINGLESEQUENCES void onlyASMSymbol_WS2812_sequence_LLL(void) __attribute__ ((naked,used,noinline,aligned (512))); void onlyASMSymbol_WS2812_sequence_LLL(void) { asm volatile ( #else " onlyASMSymbol_WS2812
in „AVR ASM ws2811 / ws2812 Ansteuerung mit FastPWM“ · Projekte & Code ·
-
PDF
Schematic_Aktor_Steuerung_2020-07-13_19-22-06.pdf
R4 10k 3 4 SW5 TS-1187A-C-E-B LED20 LED19 LED18 LED17 1 2 WS2812B WS2812B WS2812B WS2812B 10k 1VDD DIN 4 1 VDD DIN 4 1 VDD DIN 4 1VDD DIN 4 3 4 2DOUT VSS 3 2 DOUT VSS 3 2 DOUT VSS 3 2DOUT VSS 3 C17 C18 C19 C20 GND GND 100nF 100nF 100nF 100nF LED24 LED23 LED22 LED21 WS2812B WS2812B WS2812B WS2812B 1VDD DIN 4 1 VDD DIN 4 1 VDD DIN 4 1VDD DIN 4 2DOUT VSS 3 2 DOUT VSS 3 2 DOUT VSS 3 2DOUT VSS 3 GND C21 C22 C23 C24 100nF 100nF 100nF 100nF WS2812B WS2812B WS2812B WS2812B
in „Schaltplan kontrolle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
WS2812.c
#include <XC.h> #include <stdio.h> #include "WS2812.h" void WS2812_Init(void) { WS2812_TRIS=0; WS2812_LAT=0; } void WS2812_Write(unsigned char *data, int number_leds) { int i; number_leds=number_leds+number_leds+number_leds; for(i=0;i<number_leds;i++) { WS2812_WriteByte(data[i]); } } void WS2812_WriteSame(unsigned char R, unsigned char G, unsigned char B, int number_leds) { int i; for(i=0;i<number_leds;i++) { WS2812_WriteByte(G); WS2812_WriteByte(R); WS2812
in „Einfacher Webserver mit PIC24 + ESP8266“ · Projekte & Code ·
-
Datei
readme.txt
Softwaremodul ws2812.c / ws2812_output.S Header ws2812.h / ws2812_pins.h ____________________________________________________________________________________________ 10.11.2018 by R. Seelig Inhaltsverzeichnis: - Vorwort - WS2812b Leuchtdioden - Make - WS2812 Header . ws2812.h . ws2812_pins.h - Funktionen von WS2812 . rgbfromega . rgbfromvalue . ws_showbuffer . ws_setrgbcol . ws_reset . ws_init . ws_clrarray . ws_blendup_left
-
Datei
light_ws2812.c
/* * light weight WS2812 lib V2.0b * * Controls WS2811/WS2812/WS2812B RGB-LEDs * Author: Tim (cpldcpu@gmail.com) * * Jan 18th, 2014 v2.0b Initial Version * Nov 29th, 2015 v2.3 Added SK6812RGBW support * * License: GNU GPL
in „LED-Matrix mit light_ws2812-library; Ansteuerungsgeschwindigkeit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
light_ws2812.c
/* * light weight WS2812 lib V2.0b * * Controls WS2811/WS2812/WS2812B RGB-LEDs * Author: Tim (cpldcpu@gmail.com) * * Jan 18th, 2014 v2.0b Initial Version * Nov 29th, 2015 v2.3 Added SK6812RGBW support * * License: GNU GPL
in „Neopixel Attiny85 Makefile Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
light_ws2812.c
/* * light weight WS2812 lib V2.0b * * Controls WS2811/WS2812/WS2812B RGB-LEDs * Author: Tim (cpldcpu@gmail.com) * * Jan 18th, 2014 v2.0b Initial Version * Nov 29th, 2015 v2.3 Added SK6812RGBW support * * License: GNU GPL
in „Kann mit Light WS2812 nicht mehr als 128 LEDs ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812b.h
/* WS2812B CPU and memory efficient library Date: 28.9.2016 Author: Martin Hubacek http://www.martinhubacek.cz @hubmartin Licence: MIT License */ #ifndef WS2812B_H_ #define WS2812B_H_ #include "ws2812b.h"
in „WS2812B mit Lib von Martin Hubáček auf F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
0001-WS2812-Block-after-ws2812_dma_start-until-finished.patch
EndlessFork <EndlessFork@users.noreply.github.com> Date: Wed, 5 Apr 2017 11:05:47 +0200 Subject: [PATCH] WS2812: Block after ws2812_dma_start until finished --- src/ws2812/ws2812.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ws2812/ws2812.c b/src/ws2812/ws2812.c index 96a655a
-
Datei
light_ws2812.c
/* * light weight WS2812 lib V2.0b * * Controls WS2811/WS2812/WS2812B RGB-LEDs * Author: Tim (cpldcpu@gmail.com) * * Jan 18th, 2014 v2.0b Initial Version * * License: GNU GPL v2 (see License.txt) */ #include "light_ws2812.h" #include <avr/interrupt.h> #include <avr/io.h> #include <util/delay.h> void inline ws2812_setleds(struct cRGB *ledarray, uint16_t leds) { ws2812_setleds_pin(ledarray,leds, _BV(ws2812_pin)); } void inline ws2812_setleds_pin(struct cRGB *ledarray, uint16_t leds, uint8_t pinmask) { ws2812
in „ws2812 mit atmega32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
WS2812.c
#include <XC.h> #include <stdio.h> #include "WS2812.h" void WS2812_Init(void) { WS2812_TRIS=0; WS2812_LAT=0; } void WS2812_Write(unsigned char *data, int number_leds) { int i; unsigned char DataByte; number_leds=number_leds+number_leds+number_leds; for(i=0;i<number_leds;i++) { DataByte=data[i]; WS2812_WriteBit(DataByte&(1<<7)); WS2812_WriteBit(DataByte&(1<<6)); WS2812_WriteBit(DataByte&(1<<5)); WS2812_WriteBit(DataByte&(1<<4)); WS2812_WriteBit(DataByte&(1<<3)); WS2812_WriteBit(DataByte&(1<<2))
in „[ASM & C] PIC12/PIC18/PIC24 WS2812 SPI Library“ · Projekte & Code ·
-
Datei
lightws.c
/* * light weight WS2812 lib V2.0b * * Controls WS2811/WS2812/WS2812B RGB-LEDs * Author: Tim (cpldcpu@gmail.com) * * Jan 18th, 2014 v2.0b Initial Version * * License: GNU GPL v2 (see License.txt) */ #include "lightws.h" #include <avr/interrupt.h> #include <avr/io.h> #include <util/delay.h> void inline ws2812_setleds(struct cRGB *ledarray, uint16_t leds) { ws2812_setleds_pin(ledarray,leds, _BV(ws2812_pin)); } void inline ws2812_setleds_pin(struct cRGB *ledarray, uint16_t leds, uint8_t pinmask) { ws2812
in „arrays und struct in funktionen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
readme.txt
Softwaremodul ws2812.c / ws2812.h ____________________________________________________________________________________________ Text und Software von R. Seelig Inhaltsverzeichnis: - Vorwort - WS2812b Leuchtdioden - Make - WS2812b Header - Funktionen von WS2812b . rgbfromvalue . rgbfromega . ws_reset . ws_showarray . ws_clrarray . ws_setrgbcol . ws_setegacol . ws_blendup_left . ws_blendup_right . ws_buffer_rl . ws_buffer_rr
-
Datei
light_ws2812.h
) + */ #ifndef LIGHT_WS2812_H_ #define LIGHT_WS2812_H_ #include <avr/io.h> #include <avr/interrupt.h> #include "ws2812_config.h" /* * Structure of the LED array * * cRGB: RGB for WS2812S/B/C/D, SK6812, SK6812Mini, SK6812WWA
in „LED-Matrix mit light_ws2812-library; Ansteuerungsgeschwindigkeit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
light_ws2812.h
) + */ #ifndef LIGHT_WS2812_H_ #define LIGHT_WS2812_H_ #include <avr/io.h> #include <avr/interrupt.h> #include "ws2812_config.h" /* * Structure of the LED array * * cRGB: RGB for WS2812S/B/C/D, SK6812, SK6812Mini, SK6812WWA
in „Neopixel Attiny85 Makefile Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
light_ws2812.h
) + */ #ifndef LIGHT_WS2812_H_ #define LIGHT_WS2812_H_ #include <avr/io.h> #include <avr/interrupt.h> #include "ws2812_config.h" /* * Structure of the LED array * * cRGB: RGB for WS2812S/B/C/D, SK6812, SK6812Mini, SK6812WWA
in „Kann mit Light WS2812 nicht mehr als 128 LEDs ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
0001-WS2812-also-disable-IRQ-s-while-waiting-for-refresh.patch
EndlessFork <EndlessFork@users.noreply.github.com> Date: Wed, 5 Apr 2017 11:13:51 +0200 Subject: [PATCH] WS2812: also disable IRQ's while waiting for refresh --- src/ws2812/ws2812.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ws2812/ws2812.c b/src/ws2812/ws2812.c index 622165a..8ade75b 100644 --- a/src/ws2812/ws2812.c +++ b/src/ws2812/ws2812.c @@ -383,10 +383,16 @@ ws2812_refresh (uint_fast16_t n_leds) ws2812_setup_dma_buf (1); ws2812_dma_start(); + NVIC_DisableIRQ(USART1_IRQn); + NVIC_DisableIRQ(USART2
-
Datei
ws2812.h
--------------------------------------------------------------------------------------- */ #ifndef WS2812_H #define WS2812_H #include "stm32f1xx_hal.h" #define WS2812_MAX_LEDS 12 typedef struct { uint8_t red; uint8_t green; uint8_t blue; } WS2812_RGB; extern void ws2812_init (void); extern void ws2812_refresh (uint_fast16_t); extern void ws2812_set_led (uint_fast16_t, WS2812_RGB *); extern void ws2812_set_all_leds (WS2812_RGB *, uint_fast16_t, uint_fast8_t); void WS2812_DMA_TransferHalfHandler(DMA_HandleTypeDef *DmaHandle); void WS2812_
in „WS2812B mit Lib von Martin Hubáček auf F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812.S
, r1 cpc data_cnt+1, r1 brne ws2812_w_go rjmp ws2812_w_end ; skip function, when cnt==00 ws2812_w_go: movw led_ptr, r24 ; data pointer to Z, free r24/r25 movw port_ptr, r20 ; port pointer to X, free r20/r21 ld port_set, X or port_set
in „Frage zu IR-Remote+LED-Strips an AVR“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
WS2812B_VS_WS2812.pdf
WS2812 VS WS2812B General description WS2812 family is a intelligent control LED light source that the control circuit and RGB chip are integrated in a package of 5050 components. It internal include intelligent
in „[Mitbestellung] SMD5050 RGB-LED mit integriertem 8-bit PWM Controller“ · Markt ·
-
Datei
light_ws2812.h
License.txt) + */ #ifndef LIGHT_WS2812_H_ #define LIGHT_WS2812_H_ #include <avr/io.h> #include <avr/interrupt.h> #include "ws2812_config.h" /* * Structure of the LED array */ struct cRGB { uint8_t g; uint8_t r; uint8_t b; }; /* User Interface
in „ws2812 mit atmega32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lightws.h
functions take a byte-array and send to the data output as WS2812 bitstream. * The length is the number of bytes to send - three per LED. */ void ws2812_sendarray (uint8_t *array,uint16_t length); void ws2812_sendarray_mask(uint8_t *array,uint16_t length, uint8
in „arrays und struct in funktionen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812.h
/****************************** File: ws2812.h ********************************* * Author : wizard2001 22.03.2023 * Version : V1.0.0 * Settings : MounRiver Studio V1.84 MCU CH32V003F4P6 CH32F003_Board SSOP20 * Description : Control WS2812 Chain
in „Problem: CH32V003 läst sich nicht (mehr) flashen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812.c
/****************************** File: ws2812.c ********************************* * Author : wizard2001 22.03.2023 * Version : V1.0.0 * Settings : MounRiver Studio V1.84 MCU CH32V003F4P6 CH32F003_Board SSOP20 * Description : Control WS2812 Chain
in „Problem: CH32V003 läst sich nicht (mehr) flashen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
[8]=0xFF; //LED3 magenta WS2812_Send(RGB_bytes, 3); while(1); } void WS2812_Init(void) { //Init SPI SPI1CON1bits.DISSCK=1; //Internal SPIx clock is disabled, pin functions as an I/O SPI1CON1bits.DISSDO=0; //SDOx pin is controlled
in „[ASM & C] PIC12/PIC18/PIC24 WS2812 SPI Library“ · Projekte & Code ·
-
Datei
ws2812_config.h
/* * light_ws2812_config.h * * v2.4 - Nov 27, 2016 * * User Configuration file for the light_ws2812_lib * */ #ifndef WS2812_CONFIG_H_ #define WS2812_CONFIG_H_ //////////////////////////////////////////////////////
in „LED-Matrix mit light_ws2812-library; Ansteuerungsgeschwindigkeit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812_config.h
/* * light_ws2812_config.h * * v2.4 - Nov 27, 2016 * * User Configuration file for the light_ws2812_lib * */ #ifndef WS2812_CONFIG_H_ #define WS2812_CONFIG_H_ //////////////////////////////////////////////////////
in „Neopixel Attiny85 Makefile Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812_config.h
/* * light_ws2812_config.h * * v2.4 - Nov 27, 2016 * * User Configuration file for the light_ws2812_lib * */ #ifndef WS2812_CONFIG_H_ #define WS2812_CONFIG_H_ //////////////////////////////////////////////////////
in „Kann mit Light WS2812 nicht mehr als 128 LEDs ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
WS2812D_Datasheet-English.pdf
WS2812D LED 8mm RGB WS2811 LEDs There is a new addition to the popular WS2812 family of RGB LEDs with integrated controller: A 8mm through hole version. Right now they seem to be in pilot production stage
in „"Sammelbestellung" für 8mm RGB LEDs mit WS2811 chip“ · Markt ·
-
Datei
WS2812.h
/* * Single WS2812 - 16M Arduino support * License: GNU GPL v2 (see License.txt) * Based on https://github.com/cpldcpu/light_ws2812 * From Tim cpldcpu */ #ifndef WS2812_H_ #define WS2812_H_ #ifndef F_CPU #define F_CPU 16000000UL #endif #include <Arduino.h> // PD4 #define mask 0b00001000 #define ws2812_PORTREG PORTD #define ws2812_DDREG DDRD void ws2812_init(); void ws2812_sendarray(uint8_t *data, uint16_t datlen); #endif /* WS2812_H_ */
in „Hab meinen MPP(T) akkulader probiert :)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812.h
- WS2812/WS2815 Data * ******************************************************************************/ //--------------------------- Includes #include <stdlib.h> #ifndef __WS2812_H #define __WS2812_H struct
in „CH32V003 / SPI und Gehäuse SOP-16“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
WS2812.h
/* * Single WS2812 - 16M Arduino support * License: GNU GPL v2 (see License.txt) */ #ifndef WS2812_H_ #define WS2812_H_ #ifndef F_CPU #define F_CPU 16000000UL #endif #include <Arduino.h> // PD4 #define mask 0b00001000 #define ws2812_PORTREG PORTD #define ws2812_DDREG DDRD void ws2812_init(); void ws2812_sendarray(uint8_t *data, uint16_t datlen); #endif /* WS2812_H_ */
in „Ein "non bloated" arduino 328p WS2812 treiber“ · Projekte & Code ·
-
Datei
WS2812Ctrl.h
$ Last changed date: $Date: 04.05.2015 $ ID: $Id: WS2812Ctrl $ */ #ifndef WS2812CTRL_H_INCLUDED #define WS2812CTRL_H_INCLUDED #include "stm32f10x.h" #include "stm32f10x_ts.h" #define COLOR_CODING_RGB_DIRECT 0 #define COLOR_CODING_RGB 1 #define COLOR_CODING_HSV