cpldcpu / u-wire Goto Github PK
View Code? Open in Web Editor NEWSmallest possible USB compliant device with V-USB
Smallest possible USB compliant device with V-USB
Is it just by chance that ZL isn't close to 255 when the function is called? It could cause unexpected errors by syncing to the wrong JK transition.
https://github.com/cpldcpu/u-wire/blob/master/firmware/usbdrv/usbdrvasm12.inc#L59
It looks like Armin copied the same code:
ArminJo/micronucleus-firmware#11
I also noticed that other than for the t10, x1/x2 use r16/r17 which are supposed to be callee-saved.
Hi,
I wonder if it would be possible to modify this to send data back to the computer instead of the other way around.
I can see such a thing being very useful - maybe a tiny data logger, or to connect a one-wire temp sensor. Could even get it to enumerate under the HID class as a keyboard and have it send keystrokes.
I have quite a bit of experience making code as small as possible (and writing in assembler), and with V-USB (modified the HIDSerial repository to fit into an attiny2313 as a USB-USART adapter), so I don't mind doing the coding for such an idea, but I am interested in your opinion as it would depend on how you have modified VUSB - presumably you've removed a large amount of stuff from it.
Have you ever tried it on Windows 7 x64? If I connect the usb device, it's shown as an unknown device. Not because of the driver - it's not recognized at all. VID and PID are 0000. On Windows XP 32 bit there are no problems, OSX is also happy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.