Code Monkey home page Code Monkey logo

openpaygo-link's People

Contributors

benmod avatar daninedo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openpaygo-link's Issues

STM8S003 examples not Working

Hi! has anyone tried to flash and run the basic single slave example provided. I used stm8s003k3 discovery boards on both master and slave side for testing. The documentation mentions that first the slave will advertise its presence, then master will acknowledge and initiate a handshake. After the connection is established master sends a string "OpenPayGo" and the slave responds by sending "Link". LEDs will also blink during this process of sending and receiving. As LED is attached to PD0 so I changed GPIO pin to (PD, 0). But still I see no LEDs blinking. For debugging; i tested both UART and gpio_write functions before entering while(1). They both work fine. Also, I go through the code and noticed that in slave's opl_init(); the slave loads configuration from EEPROM. If no configurations are found, it will stuck in while(1) loop forever. But, I see in the example code we are not loading configurations anywhere.

image

So, I tried to manually write configurations in main() as follows, but still no luck
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.