| | Re: bitwise operators
|
|
(...) Are you talking about NXC or NBC or some other programming language? The standard NXT firmware does support bitwise logical operators such as and, or, and xor. In both NXC and NBC you can use these operations as you would expect in a C-like (...) (18 years ago, 24-May-07, to lugnet.robotics.nxt)
|
|
| | bitwise operators
|
|
I looked thru the doc, it looks like it does not allow bitwise operators like IOR, XOR, AND, etc. Is this correct? Or, I have overlooked something? --thanks Elizabeth (18 years ago, 24-May-07, to lugnet.robotics.nxt)
|
|
| | RE: determine the degree of turning by using ultrasonic sensor
|
|
Ok... I wrap every sequence of motion control with mutex. I created a movement macro which basically just wrap the command(s) around with acquire and release. By the way, would someone tells me how I'll find out how the mutex datatype implemented. (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | RE: determine the degree of turning by using ultrasonic sensor
|
|
Found it... RotateMotor(OUT_C, 100, turn); x = MotorRotationCount(OUT_C); --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Tuesday, May 22, 2007 12:57 PM To: (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | determine the degree of turning by using ultrasonic sensor
|
|
Is it quick way to determining the # of degree or some value which will help to calculate the distance travelled. more or less like the x= rotation-click.. Is it a way to read how much the motor has turned from a certain point. - Reset motor/sensor (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | Introduction of LEJOS OSEK
|
|
Hello everyone and special thanks to LEJOS developers, I would like to introduce a new project that is standing on the shoulders of giants. LEJOS OSEK (URL) is an open source firmware for LEGO Mindstorms NXT. LEJOS OSEK consists of I/O driver of (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | Re: NXC - embedded functions failed
|
|
(...) I think having NXC generate a compiler error is a great idea. :-) I will work that into the next beta release (b30). I just released beta 29 today. It has a number of important fixes and enhancements but I just noticed that it has a few new (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | RE: NXC - embedded functions failed
|
|
Hi John, Will throwing in a compilation error be a viable option? --Elizabeth -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Sunday, May 20, 2007 1:19 PM To: (...) (18 years ago, 21-May-07, to lugnet.robotics.nxt)
|
|
| | Re: pbLua PCF8574 SOLVED !
|
|
(...) Let me say thanks to Dick as well. I think that the NXT firmware does what's called a repeat start in the I2C definition... Here's the part in the I2C spec that is required: (URL) And with pictures: (URL) Hope this helps... Ralph (18 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
|
| | Re: pbLua PCF8574 SOLVED !
|
|
(...) Hi Dick, your answer solves my knot :D It's a NXT specific behaviour and all alternatives NXT-OSes which uses original Lego-Source-Lowlevel routines have this feature ? Thanks for your answer Bye Christian (18 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|