GithubHelp home page GithubHelp logo

Comments (3)

kentindell avatar kentindell commented on July 20, 2024 1

New firmware released (including new source).

from canhack.

kentindell avatar kentindell commented on July 20, 2024

Upcoming release of firmware now has a receive callback function. Function is associated when the CAN controller class is created. It is passed a CANFrame instance, which it can act on.

Screenshot 2022-07-29 at 12 59 22

Caveats:

  1. MicroPython ISRs in Python are highly constrained (no heap, for example)
  2. The CANFrame instance has a lifetime for the duration of the callback only: it must extract the data it needs from the instance and must not pass out a reference to the instance.

Remember that the callback is running from inside the ISR and if it executes for too long then this will disrupt CAN frame reception.

from canhack.

beyonlo avatar beyonlo commented on July 20, 2024

@kentindell That's a great news!

This will be a amazing new feature for this project :)

Thank you!

from canhack.

Related Issues (20)

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.