DAVID | Posted: 22 Apr 2018, 09:43 PM |
---|---|
I love mcus Member Posts: 237 Joined: 10-September 17 |
hi, since i made my usb to audio adapter with an attiny85 i wonder if i can make a usb to midi with the attin85. first of all i need to bitbang the Serial comuniction and the that it does not interfered with the vusb library... and finally i made it. code: https://github.com/theawsomeavr/attiny85-usb2midi video: https://youtu.be/NOlByZCCfHY Last edit by DAVID at 22 Apr 2018, 09:44 PM ------------- |
[top] | |
mit | Posted: 23 Apr 2018, 06:46 PM |
yeah whatever Admin Posts: 566 Joined: 4-May 16 |
Nice. I wonder what the jitter is like, doing both things through software. It might work better if you keep just the USB part interrupt-driven, and do the midi without using interrupts, which would reduce the overhead of jumping in and out of interrupt routines. It might also be possible to use the USI that the attiny85 has to do the sending. ------------- |
[top] | |
DAVID | Posted: 23 Apr 2018, 09:28 PM |
I love mcus Member Posts: 237 Joined: 10-September 17 |
yeah i face it alot of times where if i use an interrupt for the Serial communication will conclict with the usb library so it can only transmit but it can not recieve ------------- |
[top] | |
DAVID | Posted: 23 Apr 2018, 09:29 PM |
I love mcus Member Posts: 237 Joined: 10-September 17 |
but think that the serial tx pin in this example is working by switching the pin on and off ------------- |
[top] | |
Sign in to post a reply.