Changes between Version 27 and Version 28 of IOC_T06


Ignore:
Timestamp:
Mar 20, 2026, 11:36:15 AM (7 months ago)
Author:
franck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IOC_T06

    v27 v28  
    222222}
    223223
    224 void step_led(ctx_Led_t * ctx) {
     224void step_led(ctx_led_t * ctx) {
    225225  if (!waitFor(ctx->timer, ctx->period)) return;          // sort s'il y a moins d'une période écoulée
    226226  digitalWrite(ctx->pin,ctx->etat);                       // ecriture
    … …  
    230230//--------- definition de la tache Mess
    231231
    232 struct {
     232typedef struct {
    233233  int timer;                                              // numéro de timer utilisé par WaitFor
    234234  unsigned long period;                                   // periode d'affichage