Search found 2 matches
- Sat Dec 26, 2009 11:56 pm
- Forum: V-USB
- Topic: example for Atmega8
- Replies: 14
- Views: 13359
Re: example for Atmega8
Thanks! But now I have different problem. Windows recognises device as HID keyboard but it don't press any key (0x2C = space?). Bigger problem is that after few minutes PC restarts. Maybe some security system do this to prevent PC but why? main.c #include <avr/io.h> #include <avr/interrupt.h> #inclu...
- Sat Dec 26, 2009 8:27 pm
- Forum: V-USB
- Topic: example for Atmega8
- Replies: 14
- Views: 13359
example for Atmega8
Hello. I would like to make a simple one key sending device. I am new with v-usb so please help me. That's what I made : main.c #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/pgmspace.h> #include "usbdrv/usbdrv.c" #define USB_CFG_HID_REPORT_DESCRIPTOR_...