
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] lojza.h: release early, release often . . . . . . . . (was Re: just a quick note... more to come later :))
On Thu, 27 Jul 2006 10:19:40 +0200 Michal Hajek <hajek1@example.com> wrote:
> [1] http://material.karlov.mff.cuni.cz/people/hajek/pec/
lojza.h
#define NORMAL (0.000099995) /* ^^^ what are the units? */
/* #define NORMAL (0.099999) */
extern int k706Ud;
extern int k2182Ud;
extern int k228Ud;
extern int pIA4830Ud;
extern int k706_GPIB_Address;
extern int k2182_GPIB_Address;
extern int k228_GPIB_Address;
extern int pIA4830Ud_GPIB_Address;
double measureCurrent_furnace(void);
double measureSample_furnace(void);
void measureI_Vplus(double *current_plus, double *voltage_plus);
void measureI_Vminus(double *current_minus, double *voltage_minus);
double measureTemp_cold(void);
double measureTemp_hot(double tc);
void setupHeating(double* t, double* w);
#if 0
I've learned to add parentheses around #define values
as a matter of routine to avoid suprises.
the convention for variable names in C is that the are
(or at least begin) in lower-case.
Go ahead and use void argument for functions without arguments.
(That's just a tidiness issues.)
#endif
Home |
Main Index |
Thread Index