Changeset 49fd394 in avrstuff
- Timestamp:
- Aug 8, 2010, 11:52:04 AM (14 years ago)
- Branches:
- main
- Children:
- ff4dbfd
- Parents:
- d056b2b
- Files:
-
- 62 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libs/amiga_keyboard/amiga_keyboard.c
rd056b2b r49fd394 2 2 * Copyright 2010, Adrien Destugues <pulkomandy@pulkomandy.ath.cx> 3 3 * Distributed under the terms of the MIT Licence */ 4 5 #define F_CPU 16000000UL6 4 7 5 #include <avr/io.h> … … 11 9 12 10 #include "amiga_keyboard.h" 13 #include "keymap.h"11 // #include "keymap.h" 14 12 15 13 … … 49 47 ISR(INT1_vect) 50 48 { 51 PORTD ^= (1<<PD6);52 53 49 //make sure clock line is low, if not ignore this transition 54 50 if(AK_PORT & (1<<AK_CLK)){ … … 101 97 102 98 99 /* 103 100 char ak_scancode_to_ascii(uint8_t data){ 104 101 char to_ret = pgm_read_byte(&(keymap[data])); //grab character from array … … 106 103 return to_ret; 107 104 } 108 105 */ 109 106 110 107 uint8_t ak_wait_scancode(){
Note:
See TracChangeset
for help on using the changeset viewer.