Skip to content

Commit

Permalink
change port to B0 for M328 and T85 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cpldcpu committed Nov 18, 2023
1 parent 545cb98 commit 1446a52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions light_ws2812_AVR/Light_WS2812/light_ws2812.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
// Define I/O pin
///////////////////////////////////////////////////////////////////////
#if !defined(ws2812_port)
#define ws2812_port D // Data port
#define ws2812_port B // Data port
#endif

#if !defined(ws2812_pin)
#define ws2812_pin 7 // Data out pin
#define ws2812_pin 0 // Data out pin
#endif

/*
Expand Down
4 changes: 2 additions & 2 deletions light_ws2812_AVR/Light_WS2812/ws2812_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
///////////////////////////////////////////////////////////////////////


#define ws2812_port D // Data port
#define ws2812_pin 7 // Data out pin
#define ws2812_port B // Data port
#define ws2812_pin 0 // Data out pin

#endif /* WS2812_CONFIG_H_ */

0 comments on commit 1446a52

Please sign in to comment.