mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
Cofnięcie zmian PoKeys, które dołączyć nbmx, gdyż powodowały dziwne zachowanie pozostałych PWM.
This commit is contained in:
@@ -16,7 +16,6 @@ class TPoKeys55
|
||||
unsigned char OutputBuffer[65]; // Allocate a memory buffer equal to our endpoint size + 1
|
||||
unsigned char InputBuffer[65]; // Allocate a memory buffer equal to our endpoint size + 1
|
||||
int iPWM[8]; // 0-5:wyjœcia PWM,6:analogowe,7:czêstotliwoœc PWM
|
||||
char PoExt[10];// Wyjscia PoExt
|
||||
int iPWMbits;
|
||||
int iLastCommand;
|
||||
int iFaza;
|
||||
@@ -30,12 +29,10 @@ class TPoKeys55
|
||||
bool Connect();
|
||||
bool Close();
|
||||
bool Write(unsigned char c, unsigned char b3, unsigned char b4 = 0, unsigned char b5 = 0);
|
||||
bool PoExtWrite(unsigned char *c);
|
||||
bool Read();
|
||||
bool ReadLoop(int i);
|
||||
AnsiString Version();
|
||||
bool PWM(int x, float y);
|
||||
bool PoExtUpdate(int x, char y);
|
||||
bool Update(bool pause);
|
||||
};
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user