| | RE: Idea on how to interrupt RotateMotor?
|
|
Look at the following sample code: ===...=== int shut =0; task x1() { TextOut(0, LCD_LINE3, "Waiting until it sees dark!..."); until (Sensor(IN_1)<40); shut=1; Off(OUT_AC); } task x2() { RotateMotorEx(OUT_AC, 75, 360, 0, FALSE, TRUE); TextOut(0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Idea on how to interrupt RotateMotor?
|
|
Since there is no event in nxc. Is there anyway to interrupt this call via a Off(OUT_AC) in another task? RotateMotor(OUT_AC, 20, 800); I could have used a time Wait after onFwd. However, This will not allow me to get a more previous degree turning. (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response w/ RobotC
|
|
(...) I downloaded the SDK from (URL) but can't find any reference to the message format. Perhaps this is the wrong SDK? I've looked in all the doc .pdf files and skimmed everything else. I sure am having a hard time locating things. (...) So what (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: NRLink reading RCX response w/ RobotC
|
|
(...) I couldn't find it either, but its out there somewhere. (...) Agreed. It started as a internal debugging tool and was left visible for the small handful of power users who write their own I2C device drivers. (...) Agreed. I went back and (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response w/ RobotC
|
|
(...) Searching for "robotc i2c" returns 3 message in the forums: "Interfacing with Lego Sensors" "Help with US sensor!!" "RobotC I2C Help" Only the third message describes "Test I2C Messaging". It's very specific to the message thread and in it you (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: NRLink reading RCX response w/ RobotC
|
|
There are three steps to reading an I2C message from a sensor. 1. Send a message to the I2C sensor to initiate the read. Look at the program "NXT HiTechnic Accelerometer" in the RobotC sample programs folder for an example that you can clone. (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: pbLua Beta 13c first impressions
|
|
Walt, Thanks for mentioning my pbLua installation instructions (that are available also in my "Advanced NXT - The Da Vinci Inventions Book" alongside with a lot of samples for pbLua programs, by the way ;-) ). Keep in mind, though, that they have (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: pbLua Beta 13c first impressions
|
|
(...) Walt, thanks for having a look at pbLua and giving it a try. Most importantly, thanks for providing feedback in a forum where we can all learn from what you have done... (...) Soon. It's next on the list of things to do. (...) pbLua has all (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Eclipse and LEJOS OSEK
|
|
Hi If you were looking for a nice IDE for LEJOS OSEK application development, why wouldn't you use Eclipse? I tested it and it works pretty well! (URL) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | pbLua Beta 13c first impressions
|
|
pbLua beta 13c Ralph Hempel has given us pbLua which is a terrific free tool for programming the NXT. As a novice programmer, I had a bit of trouble getting it to work so I want to pass along my notes to other novices who might be interested. Feel (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|