Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Class type usage?
11-06-2014, 10:32 AM,
#1
Class type usage?
How to use a "class" directive in the IDE?
If I try to load, for example, the core library "led.h", which contains a class directive, I get the following:

error: unknown type 'class'

I want to port a library for the ST7735 display to pinguino.
Thanks everybody!


Attached Files Thumbnail(s)
   
Reply
16-06-2014, 06:17 PM,
#2
RE: Class type usage?
Hi,
I made this example to test the GCC C++ compiler with 32-bit Pinguino but we decided not to use it.
There is already a ST7565 library ported from the Arduino world to the 8-bit Pinguino, maybe a good idea to start from here and see how it has been converted from C++ to C.
Good luck,
Régis


(11-06-2014, 10:32 AM)prugno Wrote: How to use a "class" directive in the IDE?
If I try to load, for example, the core library "led.h", which contains a class directive, I get the following:

error: unknown type 'class'

I want to port a library for the ST7735 display to pinguino.
Thanks everybody!
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)