Coder Social home page Coder Social logo

cath's Introduction

cath's People

Contributors

phildem avatar soif avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

soif 8mccm8 fcerbell

cath's Issues

Converting to Arduino Lib

J'ai converti ton code en une version Librairie Arduino Standard. :-p

Tu peux l'essayer dans ma Branche "ArduinoLib", à : https://github.com/soif/Cath/tree/ArduinoLib
Le "remote repo" a rajouter: https://github.com/soif/Cath.git

Je n'ai pas testé sur le hardware, mais ca compile bien, sur Arduino IDE + PlatformIO

Si ca te branche de merger ça, je te fairais un PR (à ta demande), une fois que tu aurais validé que ca marche toujours bien sur le hardware...

PS: Pour finaliser, ensuite, il faudrait certainement que les 2 defines (CATH_MAX_TASKS et CATH_SMALL_COUNTER) puissent etre définis (optionellement) dans le sketch principal, et non plus seulement au niveau de la librairie.... J'ai eu beau essayé, ça dépasse mes maigres aptitudes en C++ & directives de compilateur.... Si ca te dis...

HTH

modification de la fréquence des appels

hello petit idée j'ai ajouter ca a cath,
ca peut etre pas mal d'avoir ca
a voir si tu veut l'intégrer ou un équivalent dans cath ou non

  //..............................................................
  // not from original cath library
  // allow to chancge call period using the task index in S_CathTasks
  // with task index n : the n ieme task that have called S_Register
  // task index start with 0
  static void S_change_period(uint8_t task,CathCnt new_period){
    Cath::S_CathTasks[task]->m_LoopDelay = new_period;
  }

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.