Building libraries?
hi! im buidling library interfacing serial device. far have
program.c includes device.h, device.c using lot of calls serial1.write() , serial.write() both "wprogram.h" , <serial.h> #included in device.c.
when "verify" program.c error saying: device.c: 'serial' undeclared.. other files need include build program?
program.c includes device.h, device.c using lot of calls serial1.write() , serial.write() both "wprogram.h" , <serial.h> #included in device.c.
when "verify" program.c error saying: device.c: 'serial' undeclared.. other files need include build program?
hi,
you need 1 less.
it's enough include "wprogram.h". makes serial.whatever() functions available code. remove #include<serial.h> statement , try again. (actually there no "serial.h" file arduino-core, include fail)
eberhard
you need 1 less.
it's enough include "wprogram.h". makes serial.whatever() functions available code. remove #include<serial.h> statement , try again. (actually there no "serial.h" file arduino-core, include fail)
eberhard
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Building libraries?
arduino
Comments
Post a Comment