Last commit 30 Apr 2011
Revision 2:3b81b375ced3, committed 02 Feb 2011
- Comitter:
- Date:
- Wed Feb 02 19:53:34 2011 +0000
- Parent:
- 1:892cfa205088
- Child:
- 3:01ad25aaff55
- Commit message:
- V1.1
Changed in this revision
--- 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
--- a/YGE25i.h Sat Jan 29 09:03:22 2011 +0000
+++ b/YGE25i.h Wed Feb 02 19:53:34 2011 +0000
@@ -112,6 +112,8 @@
void setAdress(int adress_);
+ void setPWM(int pwm_);
+
};
#endif

