]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/sensorboards/mda100/DemoSensorC.nc
Initial checkin of driver for the mda100ca/cb sensorboard. Devices attached to the...
[tinyos-2.x.git] / tos / sensorboards / mda100 / DemoSensorC.nc
diff --git a/tos/sensorboards/mda100/DemoSensorC.nc b/tos/sensorboards/mda100/DemoSensorC.nc
new file mode 100644 (file)
index 0000000..3e67b8e
--- /dev/null
@@ -0,0 +1,23 @@
+/* $Id$
+ * Copyright (c) 2005 Intel Corporation
+ * All rights reserved.
+ *
+ * This file is distributed under the terms in the attached INTEL-LICENSE     
+ * file. If you do not find these files, copies can be found by writing to
+ * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA, 
+ * 94704.  Attention:  Intel License Inquiry.
+ */
+/**
+ * Demo sensor for basicsb sensorboard.
+ * 
+ * @author David Gay
+ */
+
+generic configuration DemoSensorC() {
+  provides interface Read<uint16_t>;
+}
+implementation {
+  components new PhotoC() as Sensor;
+
+  Read = Sensor;
+}