Skip to main content
Visitor II
May 1, 2019
Question

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

  • May 1, 2019
  • 6 replies
  • 1646 views

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

    This topic has been closed for replies.

    6 replies

    Visitor II
    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).

    pvo317Author
    Visitor II
    May 1, 2019

    Thanks for the advice.

    I am a weak programmer.

    I will not write my library.

    I will look for.

    Visitor II
    March 2, 2020

    Did you find what you are looking for?

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

    pvo317Author
    Visitor II
    March 3, 2020

    Have not found :(

    I use PIС16/18.

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

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

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