[OpenTRV-dev] OT: need help with a sketch

Bo Herrmannsen EMAIL ADDRESS HIDDEN
Mon Feb 3 18:30:48 GMT 2014


example sketch from the printer lib says the same:

Epson TM88 = Epson(rxPin, txPin); // init the Printer with Output-Pin

boo hooo


Den 03/02/2014 kl. 19.28 skrev Damon Hart-Davis:

> My initial guess is that you are missing an Arduino ‘Epson” library, but that is from a very very quick glance at the code.  (C/C++ and macros and types do not make for easy analysis of things like that.)
> 
> Rgds
> 
> Damon
> 
> 
> On 3 Feb 2014, at 18:07, Bo Herrmannsen <EMAIL ADDRESS HIDDEN> wrote:
> 
>> Hi
>> 
>> working on a receipt printer that prints out orders from a oscommerce based webshop
>> 
>> almost there but a compile error i can figure:
>> 
>> sketch_feb03a:82: error: expected unqualified-id before numeric constant
>> sketch_feb03a.ino: In function 'void setup()':
>> sketch_feb03a:151: error: 'TM88' was not declared in this scope
>> sketch_feb03a.ino: In function 'void processIncoming()':
>> sketch_feb03a:402: error: 'TM88' was not declared in this scope
>> sketch_feb03a.ino: In function 'void processPrintChar(char)':
>> sketch_feb03a:459: error: 'TM88' was not declared in this scope
>> sketch_feb03a:489: error: 'TM88' was not declared in this scope
>> 
>> 
>> code here: https://github.com/laird/OSCommerceClient/blob/master/OSCommerce/OSCommerce.ino
>> 
>> lib for the printer here: https://github.com/signalwerk/thermalprinter
>> 
>> 
>> this is one that is killing me..... worse than TMP112
>> 
>> 
>> i just want it out the door quick
>> 
>> 
>> HEEEEEEEEEEEEELP
>> _______________________________________________
>> OpenTRV-dev mailing list
>> EMAIL ADDRESS HIDDEN
>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> 
> _______________________________________________
> OpenTRV-dev mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opentrv.org.uk/pipermail/opentrv-dev/attachments/20140203/97610c6b/attachment.html>


More information about the OpenTRV-dev mailing list