cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a library or an example for STM8 + PS/2.

pvo317
Associate II

I want to make a converter keyboard PS/2 -> USART.

8 REPLIES 8
Mon2
Senior III

Should not be so difficult to write your own code for this application. Search on the net for 8051 PS/2 tutorials that outline the timing needed to read the PS/2 stream and then apply to your USART (also should be plenty of demo / tutorial codes available).

pvo317
Associate II

Thanks for the advice.

I am a weak programmer.

I will not write my library.

I will look for.

tinkerBOY
Associate II

Did you find what you are looking for?

The fact that almost one year elapsed, and the OP got just 16 "rating points" suggest no.

Or he doesn't care to share.

pvo317
Associate II

Have not found :(

I use PIС16/18.

tinkerBOY
Associate II

Thanks for the update!

I'm trying to port a ps/2 libary made for Arduino but i'm stuck making it work with stm8. Code compiles and uploads just fine but not working as intended. I'm new to stm8 so im not sure what to do.

> Code compiles and uploads just fine but not working as intended.

This is not unusual, even in a professional context.

> I'm new to stm8 so im not sure what to do.

Debugging, and measuring (verifying that the things you want to do in your code actually happen).

tinkerBOY
Associate II

yeah i know it's not unsusual.

The debugging and measuring part is what puzzles me. 🙂 I guess i was kinda used to more simpler Arduino projects and just starting to learn more about timing, interrupts, etc..