Skip to main content
pvo317
Associate
May 1, 2019
Question

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

  • May 1, 2019
  • 8 replies
  • 2953 views

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

    This topic has been closed for replies.

    8 replies

    Mon2
    Senior III
    May 1, 2019

    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
    pvo317Author
    Associate
    May 1, 2019

    Thanks for the advice.

    I am a weak programmer.

    I will not write my library.

    I will look for.

    tinkerBOY
    Associate II
    March 2, 2020

    Did you find what you are looking for?

    Ozone
    Principal
    March 2, 2020

    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
    pvo317Author
    Associate
    March 3, 2020

    Have not found :(

    I use PIС16/18.

    tinkerBOY
    Associate II
    March 3, 2020

    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.

    Ozone
    Principal
    March 3, 2020

    > 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
    March 3, 2020

    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..