python

Dependencies:   TSI mbed

Fork of pymite by Norimasa Okamoto

Revision:
3:559c4bd38111
Parent:
2:a2bea117e22e
Child:
4:23becb24acb8
diff -r a2bea117e22e -r 559c4bd38111 platform/mbed/main_nat.cpp
--- a/platform/mbed/main_nat.cpp	Tue Mar 12 11:40:41 2013 +0000
+++ b/platform/mbed/main_nat.cpp	Wed Mar 13 10:05:34 2013 +0000
@@ -4,7 +4,7 @@
  * PyMite usr native function file
  *
  * automatically created by pmImgCreator.py
- * on Tue Mar 12 20:23:40 2013
+ * on Wed Mar 13 10:57:50 2013
  *
  * DO NOT EDIT THIS FILE.
  * ANY CHANGES WILL BE LOST.
@@ -39,7 +39,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<DigitalOut,PinName>(OBJ_TYPE_INT);
+        return nci.init<DigitalOut,PinName>(OBJ_TYPE_STR);
         
 }
 
@@ -66,7 +66,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<DigitalIn,PinName>(OBJ_TYPE_INT);
+        return nci.init<DigitalIn,PinName>(OBJ_TYPE_STR);
         
 }
 
@@ -84,7 +84,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<DigitalInOut,PinName>(OBJ_TYPE_INT);
+        return nci.init<DigitalInOut,PinName>(OBJ_TYPE_STR);
         
 }
 
@@ -129,7 +129,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<AnalogIn,PinName>(OBJ_TYPE_INT);
+        return nci.init<AnalogIn,PinName>(OBJ_TYPE_STR);
         
 }
 
@@ -156,7 +156,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<AnalogOut,PinName>(OBJ_TYPE_INT);
+        return nci.init<AnalogOut,PinName>(OBJ_TYPE_STR);
         
 }
 
@@ -192,7 +192,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<PwmOut,PinName>(OBJ_TYPE_INT);
+        return nci.init<PwmOut,PinName>(OBJ_TYPE_STR);
         
 }
 
@@ -273,7 +273,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<Serial,PinName,PinName>(OBJ_TYPE_INT, OBJ_TYPE_INT);
+        return nci.init<Serial,PinName,PinName>(OBJ_TYPE_STR, OBJ_TYPE_STR);
         
 }
 
@@ -348,7 +348,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<SPI,PinName,PinName,PinName>(OBJ_TYPE_INT, OBJ_TYPE_INT, OBJ_TYPE_INT);
+        return nci.init<SPI,PinName,PinName,PinName>(OBJ_TYPE_STR, OBJ_TYPE_STR, OBJ_TYPE_STR);
         
 }
 
@@ -384,7 +384,7 @@
 {
 
         NativeClassInterface nci;
-        return nci.init<I2C,PinName,PinName>(OBJ_TYPE_INT, OBJ_TYPE_INT);
+        return nci.init<I2C,PinName,PinName>(OBJ_TYPE_STR, OBJ_TYPE_STR);
         
 }