Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pdl and < character
31-03-2014, 02:38 AM, (This post was last modified: 31-03-2014, 02:53 AM by Callmea.)
#1
Pdl and < character
Hello,

I have encountered a strange thing when i have ported the adafruit library to Pinguino.

Maybe it isn't a bug, I'm new to pinguino IDE.

I have function f8544lcd.height inside my pdl file. if I make :

Code:
for (i=0; i<f8544lcd.height(); i+=4)
It doesn't work

It's ok if i make :
Code:
for (i=0; i<(f8544lcd.height()); i+=4)

It's not a problem for me because I use this solution, it's just a report Smile

Good night,
Thomas
Reply
15-04-2014, 10:38 AM,
#2
RE: Pdl and < character
It's probably a common macro bug. Because f8544lcd.height() is a macro expanded to something not within parenthesis.
Reply
15-04-2014, 11:53 AM,
#3
RE: Pdl and < character
What's in the pdl file?

John
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)