#include <im2sb.h>
configuration HplSensirionSht11C {
- provides interface Init;
provides interface Resource[ uint8_t id ];
provides interface GeneralIO as DATA;
provides interface GeneralIO as SCK;
SCK = GeneralIOC.GeneralIO[GPIO_SHT11_CLK];
InterruptDATA = GeneralIOC.GpioInterrupt[GPIO_SHT11_DATA];
- components new FcfsArbiterC( "Sht11.Resource" ) as Arbiter;
- Init = Arbiter;
+ components new SimpleFcfsArbiterC( "Sht11.Resource" ) as Arbiter;
Resource = Arbiter;
}