scruffr / ps2communication Goto Github PK
View Code? Open in Web Editor NEWInterrupt driven PS/2 communication library (with PS/2 mouse example)
License: Other
Interrupt driven PS/2 communication library (with PS/2 mouse example)
License: Other
Veryfing code using this library in Particle Build fails with this error:
PS2Communication/PS2Communication.h:39:76: error: 'struct GPIO_TypeDef' has no member named 'BRR'
#define pinLO(_pin) (PIN_MAP[_pin].gpio_peripheral->BRR = PIN_MAP[_pin].gpio_pin)
^
This error crops up when trying to compile the PS2Communication library on Photon, using peekay's PIN_MAP inline #define fixes. It also doesn't compile without them.
Hi,
I have modified the example code but have not been able to get it working without Particle connector.
Do you have version that just connects with a mouse and passes over the data? (to Serial Print for example)
Veryfing code using this library in Particle Build fails with this error:
PS2Communication/PS2Communication.cpp:47:18: error: type of 'state' does not match original declaration [-Werror]
volatile uint8_t state = 0
No documentation about this? What is it and where do I get it?
Are there any changes that need to be done to the code to get it compiling for Arduino Nano, I see that there is a application.cpp and PS2Mouse.ino in the examples folder?
For the Arduino I think I have to use the .ino file but I haven't had much success in compiling for the Arduino Nano.
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.