To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 196
195  |  197
Subject: 
Re: LCD image editor for the NXT -- at LEGO Engineering.com
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sat, 21 Oct 2006 23:44:51 GMT
Viewed: 
13079 times
  
In lugnet.robotics.nxt, Jordan Bradford wrote:
I just found out about this website, a partnership between LEGO and Tufts
University's Center for Engineering Educational Outreach:

<http://www.legoengineering.com/>

Of special interest is their LCD image editor application for the NXT
(Windows only), found here:

<http://www.legoengineering.com/index.php?option=com_content&task=view&id=30&Itemid=60>

Hmmm. Just created a simple image and uploaded it using the NXT explorer, but
when I try to display it, nothing displays and syscall returns -122. Same
program displays faceopen.ric ok, but curiously syscall returns -3 for that,
even though the doco says non-zero return = error. Here's my program:

#include "NXTDefs.h"

dseg segment
dgArgs TDrawGraphic
buf byte[]
dseg ends

thread main
set dgArgs.Location.X, 0
set dgArgs.Location.Y, 0
mov dgArgs.Filename, 'pieces.ric'
//mov dgArgs.Filename, 'faceopen.ric'
set dgArgs.Options, 1
syscall DrawGraphic, dgArgs ; call the API
wait 1000
numtostr buf,dgArgs.Result
TextOut(0,0,1,buf,10)
wait 1000
endt



Message has 1 Reply:
  Re: LCD image editor for the NXT -- at LEGO Engineering.com
 
(...) The way that RIC files are drawn, a valid file will always produce an error result. This is because the code iterates through all the opcodes in the RIC file, executing each of them in turn until there are no more opcodes left. At that point (...) (18 years ago, 22-Oct-06, to lugnet.robotics.nxt)

Message is in Reply To:
  LCD image editor for the NXT -- at LEGO Engineering.com
 
I just found out about this website, a partnership between LEGO and Tufts University's Center for Engineering Educational Outreach: (URL) Of special interest is their LCD image editor application for the NXT (Windows only), found here: (URL) (18 years ago, 21-Oct-06, to lugnet.robotics.nxt, lugnet.robotics, FTX)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR