* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
+
/**
* @author R. Steve McKown <rsmckown@gmail.com>
*/
-
+
configuration PlatformSerialC {
provides interface StdControl;
provides interface UartStream;
provides interface UartByte;
}
implementation {
- components new Msp430UartA1C() as UartC;
+ components PlatformUartC as UartC;
UartStream = UartC;
UartByte = UartC;
components PlatformSerialP;
StdControl = PlatformSerialP;
PlatformSerialP.Resource -> UartC;
-
-#if 0 /* If you want to change the configuration... */
- components SomeConfigurationComponentC as ConfigC;
- UartC.AsyncConfigure -> ConfigC;
-#endif
}