Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: call of overloaded ‘drawStr(int, int, long int&)’ is ambiguous #330

Open
GoogleCodeExporter opened this issue Apr 13, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

My code:

u8g.firstPage();  
  do {
    //sprintf_P(speed_var4, speed_var, 10);
    u8g.drawStr(  0, 10, "Speed: ");
    u8g.drawStr(  10, 10, speed_var);
    u8g.drawStr( 15, 10, " km/h");
} while( u8g.nextPage() );

I get eror:
error: call of overloaded ‘drawStr(int, int, long int&)’ is ambiguous

I'am newbee..Sorry for my light question :(
Please help me..

Original issue reported on code.google.com by Aleksand...@gmail.com on 13 Mar 2015 at 10:15

@GoogleCodeExporter
Copy link
Author

NOT ACTUAL!
I use 
    u8g.setPrintPos(0,64);
    u8g.print(speed_var); // Скорость
And this work!

Original comment by Aleksand...@gmail.com on 14 Mar 2015 at 11:42

@GoogleCodeExporter
Copy link
Author

Great, you figured out the solution by yourself!

Original comment by olikr...@gmail.com on 15 Mar 2015 at 11:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant