clock now roughly works (no Timezone support) also setting led brightness via encoder works (every 2nd step works, overflow at FF)
		
			
				
	
	
		
			10 lines
		
	
	
		
			141 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			141 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _DS3231_H
 | 
						|
#define _DS3231_H
 | 
						|
 | 
						|
#include <avr/io.h>
 | 
						|
 | 
						|
void DS3231_read(uint8_t dest[3]);
 | 
						|
void DS3231_write(uint8_t inbuffer[3]);
 | 
						|
 | 
						|
#endif
 |