-
Datei
ws2801.c
PIN #ifndef WS2801_DATA_PIN #error "WS2801_DATA_PIN nicht definiert fuer <ws2801.c>" #endif //Startwert R Anteil #ifndef WS2801_R_DEF #warning "WS2801_R_DEF nicht definiert fuer <ws2801.c> wird auf 128 festgelegt" #define
in „WS2801 library“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
> //Folgende Konstanten dienen nur für #define F_CPU 16000000 //QUARZ Frequenz für delay #define WS2801_OUT_PORT PORTC //PORT für WS2801 Strip #define WS2801_OUT_PORT_DDR DDRC //DDR für WS2801 Strip #define WS2801_CLK_PIN 0 //PIN Nummer für Clock #define WS2801_DATA_PIN 1 //PIN Nummer für Data #define WS2801_STRIP_LEN 10 //Anzahl der LED Elemente #define WS2801_LATCH_DELAY 500 //500µs minimal für Latch #define WS2801_BIT_PERIOD 20 //Takte verzögerung zw 2 Signale #define WS2801_R_DEF 128 //Default Rotanteil
in „WS2801 library“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
WS2801.pdf
data at each end of the PWM cycle 3 /15 WS-Preliminary-V0.3 http://www.world-semi.com Preliminary WS2801 3-Channel Constant Current LED Driver With Programmable PWM Outputs Typical Block Diagram Fig3, Block Diagram of WS2801 4 /15 WS-Preliminary-V0.3 http://www.world-semi.com Preliminary WS2801 3-Channel
in „Sammelbestellung Adafruit - Digital Addressable RGB LED w/ PWM waterproof flexi strip (LPD8806)“ · Markt ·
-
PDF
WS2801.pdf
data at each end of the PWM cycle 3 /15 WS-Preliminary-V0.3 http://www.world-semi.com Preliminary WS2801 3-Channel Constant Current LED Driver With Programmable PWM Outputs Typical Block Diagram Fig3, Block Diagram of WS2801 4 /15 WS-Preliminary-V0.3 http://www.world-semi.com Preliminary WS2801 3-Channel
in „WS2801 mehrere LEDs mit KSQ anschließen“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
main.c
{ *port &= ~datapin; } *port |= clkpin; } } *port &= ~clkpin; *port &= ~datapin; } void leds_out_ws2801(unsigned char *leds, int count) { leds_out_ws2801_ll(leds, count, &PORTD, 1 << PD4, 1 << PD5); _delay_us(500); } #ifdef PROTO #define nop() \ asm volatile ("nop") /* * C version of low level shift
in „[Mitbestellung] SMD5050 RGB-LED mit integriertem 8-bit PWM Controller“ · Markt ·
-
Datei
FastLED_LPD8806.patch
++ b/LEDMatrix.h @@ -1,11 +1,10 @@ #ifndef LEDMATRIX_H_ #define LEDMATRIX_H_ -#include "Adafruit_WS2801.h" +#include "defines.h" -#define MATRIX_RGB_FORMAT WS2801_RBG - -#include <Adafruit_WS2801.h> +#define FASTLED_INTERNAL +#include <FastLED.h> class LEDMatrix { public: @@ -49,7 +48,7 @@ public: } private: - Adafruit_WS2801 matrix; + CRGB leds[160]; uint8_t *pixels; uint8_t width; -- 2.10.1.windows.1
in „SmartLEDLamp/Mood Light (IKEA Vidja-Korpus + WS2801 Stripes + ESP8266)“ · Projekte & Code ·
-
Datei
ws2801_sample.c
PORTB #define CLOCK_PIN PB5 #define DATA_DDR DDRB #define DATA_PORT PORTB #define DATA_PIN PB3 void ws2801_init() { // Init Clock Pin CLOCK_DDR |= (1<<CLOCK_PIN); CLOCK_PORT &= ~(1<<CLOCK_PIN); // Init Data Pin DATA_DDR |= (1<<DATA_PIN); DATA_PORT &= ~(1<<DATA_PIN); } void ws2801_sendRGB(uint8_t* rgb, uint16
-
PDF
Elektronik_Sortimente.pdf
2,2 – 3,3 – 4,7 – 6,8 LED Sortiment rot, grün, gelb, blau, weiß in 3mm und 5mm 1-2x LED-Streifen: WS2801B (Achtung: Unterschiedliche Anzahl LEDs pro Meter) 1-2x LED-Streifen: WS2812B (Achtung: Unterschiedliche Anzahl LEDs pro Meter) 10x Siebensegment-Anzeige * alle Elemente in Through the Hole und in
in „Einkaufsliste für die Einrichtung eines Elektronik-Labors“ · Mikrocontroller und Digitale Elektronik ·