16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 10:29:19 +02:00

removed dependencies on the old parser. The code can now be compiled outside of Borland C++

This commit is contained in:
tmj-fstate
2017-01-15 15:04:17 +01:00
parent 7df7c8b76e
commit 15cf3d73a8
87 changed files with 3395 additions and 3232 deletions

View File

@@ -6,9 +6,9 @@ distributed with this file, You can
obtain one at
http://mozilla.org/MPL/2.0/.
*/
#pragma once
#ifndef PoKeys55H
#define PoKeys55H
#include <string>
//---------------------------------------------------------------------------
class TPoKeys55
{ // komunikacja z PoKeys bez okreœlania przeznaczenia pinów
@@ -27,13 +27,12 @@ class TPoKeys55
TPoKeys55();
~TPoKeys55();
bool Connect();
bool Close();
void Close();
bool Write(unsigned char c, unsigned char b3, unsigned char b4 = 0, unsigned char b5 = 0);
bool Read();
bool ReadLoop(int i);
AnsiString Version();
std::string Version();
bool PWM(int x, float y);
bool Update(bool pause);
};
//---------------------------------------------------------------------------
#endif