View unanswered posts | View active topics It is currently Sat Dec 10, 2016 8:25 pm






Reply to topic  [ 3 posts ] 
EV3 - Display an existing Lego picture 
Author Message
Rookie

Joined: Tue Apr 05, 2016 9:49 am
Posts: 2
Post EV3 - Display an existing Lego picture
Hi all,

I'm quite new on this forum, so thanks in advance for your future support :-)
Using the last 4.53 RobotC release, I'd like to display a picture, like "Big smile" or any other Lego picture.

I found a command for NXT, but for EV3, I only saw a drawBmpfile in the RobotC help page, without any content ! As if this fonction was not official or not yet released.

Nick


Tue Apr 05, 2016 10:10 am
Profile
Expert

Joined: Thu Dec 01, 2011 12:07 am
Posts: 146
Post Re: EV3 - Display an existing Lego picture
The help files are overdue for updates.
Go ahead and try
drawBmpfile(X, Y, pFileName);


Tue Apr 05, 2016 8:56 pm
Profile
Rookie

Joined: Tue Apr 05, 2016 9:49 am
Posts: 2
Post Re: EV3 - Display an existing Lego picture
Thanks for your reply :-)

This line works:
drawBmpfile(0,127, "Hourglass 1");

But why 127 ? As top-left corner is (0,0), I can understand (0,0), but not (0,127).


Wed Apr 06, 2016 9:58 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.