ROBOTC.net forums
http://robotc.net/forums/

EV3 - Display an existing Lego picture
http://robotc.net/forums/viewtopic.php?f=1&t=13845
Page 1 of 1

Author:  Amls [ Tue Apr 05, 2016 10:10 am ]
Post subject:  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

Author:  CARBOT [ Tue Apr 05, 2016 8:56 pm ]
Post subject:  Re: EV3 - Display an existing Lego picture

The help files are overdue for updates.
Go ahead and try
drawBmpfile(X, Y, pFileName);

Author:  Amls [ Wed Apr 06, 2016 9:58 am ]
Post subject:  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).

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/