Clock working, I2C communication to be proven
This commit is contained in:
18
Core/Inc/clock.h
Normal file
18
Core/Inc/clock.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* clock.h
|
||||
*
|
||||
* Created on: Mar 26, 2026
|
||||
* Author: ewars
|
||||
*/
|
||||
|
||||
#ifndef INC_CLOCK_H_
|
||||
#define INC_CLOCK_H_
|
||||
|
||||
#include <stdint-gcc.h>
|
||||
|
||||
uint8_t clock_convert_hours(uint8_t hours);
|
||||
uint8_t clock_convert_min_sec(uint8_t min_sec);
|
||||
|
||||
|
||||
|
||||
#endif /* INC_CLOCK_H_ */
|
||||
@@ -8,11 +8,17 @@
|
||||
#ifndef INC_WS2812_EFFECT_H_
|
||||
#define INC_WS2812_EFFECT_H_
|
||||
|
||||
#include "stdint-gcc.h"
|
||||
|
||||
|
||||
void ws_Effect_RoudTheClock(void);
|
||||
void ws_Effect_RandRound(void);
|
||||
void ws_Effect_RandRand(void);
|
||||
|
||||
void ws_effect_display_time(uint8_t hour, uint8_t minute, uint8_t second);
|
||||
|
||||
void ws_effect_display_hour(uint8_t hour);
|
||||
|
||||
|
||||
|
||||
#endif /* INC_WS2812_EFFECT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user