Hi,

I am learning Tiny-OS, it would like you to remove me some doubts in the code below:

async command result_t Leds.redOn() {
   dbg(DBG_LED, "LEDS: Red on.\n");
   atomic {
     TOSH_CLR_RED_LED_PIN();
     ledsOn |= RED_BIT;
   }
   return SUCCESS;
 }

what does the function "dbg" make?
what TOSH_CLR_RED_LED_PIN() is making?
what ledsOn |= RED_BIT is making?

help-me please.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to