Git Product home page Git Product logo

flipper-gblink's Introduction

Flipper Game Boy Game Link Cable API

Simple API that can be included in projects to provide a flexible and easy way to handle data exchange over a Game Link Cable.

Current Version: 0.5

Available from: https://github.com/kbembedded/flipper-gblink

Current feature status and future roadmap:

  • Ability to use EXT clock source. i.e. connected device drives the clock line
  • Callback on byte transfer completion
  • Flexibility in IO pin selection at alloc time
  • Ability to enable and disable interrupt on input clock
  • Ability to set timeout in microseconds between clock edges. If exceeded, it is assumed the next clock is the first bit of a byte
  • Set a NO_DATA_BYTE pattern. i.e. after a byte transfer is complete, a default byte is prepared to be sent out if no new data is provided before the transfer starts
  • Supports communication to GBC
  • Supports communication to GBA using GBC games
  • Supports communication to GB (untested, but should work)
  • Supports communication to GBA using GBA games
  • Function as INT clock source. i.e. Flipper Zero drives the clock line
  • Drive clock at varying speeds as GBC supports
  • Proper documentation

Use example

See https://github.com/EstebanFuentealba/Flipper-Zero-Game-Boy-Pokemon-Trading

To include this in a Flipper Zero application, add this repo as a submodule in the lib/ directory of the application source. Then add the following to application.fam:

App(
...
    fap_private_libs=[
        Lib(
            name="flipper-gblink",
            sources=["gblink.c"],
        ),
    ],
...
)

flipper-gblink's People

Contributors

kbembedded avatar

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.