Chris Zagel / YGE25i
Revision:
2:3b81b375ced3
Parent:
1:892cfa205088
Child:
3:01ad25aaff55
--- a/YGE25i.cpp	Sat Jan 29 09:03:22 2011 +0000
+++ b/YGE25i.cpp	Wed Feb 02 19:53:34 2011 +0000
@@ -93,11 +93,14 @@
     adress=adress_;
 }
 
-/* 
+ 
 void YGE25i::YGESetPWMSave(void){
     char tx;
     tx=pwm & 0x7f;   
     i2c_.write(adress & 0xFE, &tx, 1);
 }  
-*/    
-    
\ No newline at end of file
+   
+void YGE25i::setPWM(int pwm_){
+    
+    pwm=pwm_;
+}  
\ No newline at end of file