Etant débutant en c++ et voulant utiliser des instruction pour commander un aficheur vfd, j'ai télécharger depuis le site du co,nstructeur "soundgraph" une API qui d'après les info obtenues doit correpondre à mon besoin
jA ce programme était joint le fichier text ci dessous qui d'après moi doit me fournir la syntaxe des instruction
Je recherche une aide pour m'expliquer le contenu
par avance merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
#ifndef __SG_VFD_H__
#define __SG_VFD_H__
 
#ifdef IMONVFD_EXPORT
 #define IMONVFD_API __declspec(dllexport)
#else
 #define IMONVFD_API __declspec(dllimport)
#endif
 
 
#define VFDHW_IMON_VFD		4
 
#ifdef __cplusplus
extern "C" {
#endif
 
///////////////////////////////////////////////
//	Open VFD driver and initialize parameters.
//	Call this method, when application starts.
//	Return value informs driver is open or not 
IMONVFD_API bool iMONVFD_Init(int vfdType, int resevered=0);
 
///////////////////////////////////////////////
//	Close VFD driver.
//	Call this method, when application destroyed.
IMONVFD_API void iMONVFD_Uninit(void);
 
///////////////////////////////////////////////
//	Check if VFD driver is opened.
IMONVFD_API bool iMONVFD_IsInited(void);
 
///////////////////////////////////////////////
//	Send text data to VFD. VFD supports only English character set.
IMONVFD_API bool iMONVFD_SetText(char* szFirstLine, char* szSecondLine);
 
///////////////////////////////////////////////
//	Send EQ data to VFD.
//	Total 16band, each band ranges from 0 to 100 
//  make EQ data with integer array.
IMONVFD_API bool iMONVFD_SetEQ(int* arEQValue);
 
#ifdef __cplusplus
}	//	extern "C"
#endif
 
#endif	//__SG_VFD_H__