Intial commit of the SonyNEWS scan module
- Keyboard output fully working - Not all of the features are implemented yet (input, speaker, or power detection) - There is no plan for mouse support
This commit is contained in:
parent
ac5f6c015d
commit
ea2654b662
9 changed files with 657 additions and 15 deletions
|
|
@ -78,7 +78,7 @@ inline void scan_setup()
|
|||
// Setup baud rate
|
||||
// 16 MHz / ( 16 * Baud ) = UBRR
|
||||
// Baud <- 0.82020 ms per bit, thus 1000 / 0.82020 = 1219.2
|
||||
// Thus baud = 820
|
||||
// Thus baud setting = 820
|
||||
uint16_t baud = 820; // Max setting of 4095
|
||||
UBRR1H = (uint8_t)(baud >> 8);
|
||||
UBRR1L = (uint8_t)baud;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue