Add printedpad keyboard (#21202)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
		
							parent
							
								
									2a8b3a809d
								
							
						
					
					
						commit
						92873cc14f
					
				
					 12 changed files with 1688 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								keyboards/printedpad/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								keyboards/printedpad/config.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
// Copyright 2023 Noah Beidelman (@noahbei)
 | 
			
		||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define I2C_DRIVER I2CD1
 | 
			
		||||
#define I2C1_SCL_PAL_MODE 1
 | 
			
		||||
#define I2C1_SDA_PAL_MODE 1
 | 
			
		||||
#define I2C1_TIMINGR_PRESC 0x00U
 | 
			
		||||
#define I2C1_TIMINGR_SCLDEL 0x03U
 | 
			
		||||
#define I2C1_TIMINGR_SDADEL 0x01U
 | 
			
		||||
#define I2C1_TIMINGR_SCLH 0x03U
 | 
			
		||||
#define I2C1_TIMINGR_SCLL 0x09U
 | 
			
		||||
 | 
			
		||||
#define OLED_TIMEOUT 300000
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue