Changeset 49fd394 in avrstuff


Ignore:
Timestamp:
Aug 8, 2010, 11:52:04 AM (14 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
ff4dbfd
Parents:
d056b2b
Message:
  • Add aktousb

git-svn-id: svn://pulkomandy.tk/avrstuff@14 c6672c3c-f6b6-47f9-9001-1fd6b12fecbe

Files:
62 added
1 edited

Legend:

Unmodified
Added
Removed
  • libs/amiga_keyboard/amiga_keyboard.c

    rd056b2b r49fd394  
    22 * Copyright 2010, Adrien Destugues <pulkomandy@pulkomandy.ath.cx>
    33 * Distributed under the terms of the MIT Licence */
    4 
    5 #define F_CPU 16000000UL
    64
    75#include <avr/io.h>
     
    119
    1210#include "amiga_keyboard.h"
    13 #include "keymap.h"
     11// #include "keymap.h"
    1412
    1513
     
    4947ISR(INT1_vect)
    5048{
    51         PORTD ^= (1<<PD6);
    52 
    5349        //make sure clock line is low, if not ignore this transition
    5450        if(AK_PORT & (1<<AK_CLK)){
     
    10197
    10298
     99/*
    103100char ak_scancode_to_ascii(uint8_t data){
    104101        char to_ret = pgm_read_byte(&(keymap[data])); //grab character from array
     
    106103        return to_ret;
    107104}
    108 
     105*/
    109106
    110107uint8_t ak_wait_scancode(){
Note: See TracChangeset for help on using the changeset viewer.