Browse Source

store MPM address for later use

devel
Olaf Rempel 9 years ago
parent
commit
3aaa8f0925
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      main.c

+ 3
- 0
main.c View File

@ -478,6 +478,9 @@ int main(void)
UBRRH = (UART_CALC_BAUDRATE(BAUDRATE)>>8) & 0xFF;
UBRRL = (UART_CALC_BAUDRATE(BAUDRATE) & 0xFF);
/* store MPM address in TWI register for application */
TWAR = MPM_ADDRESS;
/* 11.354ms for 109 bits @9600 */
/* 946.18us for 109 bits @115200 */
// uart_send("1234567890");


Loading…
Cancel
Save