 | | 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 (19 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
| |
 | | RE: pbLua PCF8574 SOLVED ?
|
|
(...) This is the excepted behavior. When you want to read from I2C device, the NXT firmware first sends a write message to load the internal index "pointer" for the I2C device and then sends a read message that will read the requested number of (...) (19 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
| |
 | | Re: pbLua PCF8574 SOLVED ?
|
|
(...) Hi, or was it a quirk at my brain to address the i2c-read-address and hope to receive usefull data ? Currently it works for me when using allways the i2c-write address... Are the any demos or samples for NXC, using the PCF8574 ? 1. setting (...) (19 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
| |
 | | Re: NXC - embedded functions failed
|
|
(...) This is definitely a problem in NXC. The problem is that the value of arg "a" (33) to the function Max is being replaced during the second call to Max since it passes 5 into arg "a". It looks like I need to figure out a decent way to implement (...) (19 years ago, 21-May-07, to lugnet.robotics.nxt)
|
| |
 | | Re: pbLua PCF8574 SOLVED
|
|
(...) Hi, we solved the problem... Lego-Firmware has own brain and handle read/write with own mechanisms ;-( The last read/write bit is handled automatically by lowlevel routines. Reading the same address like writing solves the problem. (...) (19 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
| |
 | | Re: Windows Vista Mindstorms Compatibility
|
|
Great! But now I've run into another problem. My USB tower is not detected. It is installed, I can see it under the Control Panel, but none of the programs can find it. I've tried plugging it into different USB ports, I've tried the new setup (...) (19 years ago, 20-May-07, to lugnet.robotics)
|
| |
 | | NXC - embedded functions failed
|
|
#include "NXCDefs.h" int Max(int a,int b){ if (a>b) return a; else return b; } task main(){ int Prob=0; Prob = Max(33, Max(5,15)); NumOut(5,LCD_LINE2,false,Prob); //returns 15 WRONG ---...--- Prob = Max(5,15); Prob = Max(33,Prob); (...) (19 years ago, 20-May-07, to lugnet.robotics.nxt)
|
| |
 | | RE: Windows Vista Mindstorms Compatibility
|
|
Hi, BrixCC works fine under Vista here, just change the shortcut to "Run as Administrator" (under the "Advanced" button). Regards, Marco -----Original Message----- From: linmix [mailto:linmix@gmail.com] Sent: zondag 20 mei 2007 16:32 To: (...) (19 years ago, 20-May-07, to lugnet.robotics)
|
| |
 | | Windows Vista Mindstorms Compatibility
|
|
I have just bought a laptop with Windows Vista (it's the only OS you can get on a laptop around here) and of course I have immediately tried to install my LEGO software . Here's a short report of the different apps I've tried to install and the (...) (19 years ago, 20-May-07, to lugnet.robotics)
|
| |
 | | RE: NXT Programming with C Question
|
|
(...) Ralph and Brian have provided good input that parallels my experience. Here's a little more information. If you have access to the IAR tools you can compile the NXT firmware available in the NXT SDK from LEGO "out of the box". I believe there (...) (19 years ago, 20-May-07, to lugnet.robotics.nxt.nxthacking)
|