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 / 741 (-20)
  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 (...) (17 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 (...) (17 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. (...) (17 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  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); (...) (17 years ago, 20-May-07, to lugnet.robotics.nxt)
 
  press button to return to pbLua-Interpreter
 
Hi Ralph, times ago, you have added the function to power off the NXT by pressing the orange button... But: what about implementing a function to break every running code and return back to interpreter ? It is very useful for debugging and (...) (17 years ago, 19-May-07, to lugnet.robotics.nxt)
 
  Re: pbLua Hardware access
 
(...) All the nice IO-Ports of the ARM-CPU, which are connected to external ports :D But now I think, we did not need it any more. You are fast enough with your development and responses. Forget Peek and Poke from good old C64 times ;-) Thanks a lot (...) (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua PCF8574
 
(...) Hi Ralph, we are using this code: collectgarbage( "setpause", 110 ); function setupI2C(port) nxt.InputSetType(port,2) nxt.InputSetDir(port,1,1) nxt.InputSetState(port,1,1) nxt.I2CTimer(3) nxt.I2CInitPins(port) end function ReadPCF(port) (...) (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua Hardware access
 
(...) There are no hidden commands, but if it's ABSOLUTELY necessary I can add peek and poke for bytes, words and longs. This may be more dangerous than it's worth :-) What hardware do you need access to? Ralph (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua PCF8574
 
(...) No ideas yet, Christian. I do have a Mindsensors kit here to look at over the weekend. Are you SURE you are sending the correct string to read the registers? Can you post the code you're using for the test here? Cheers, Ralph (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  pbLua Hardware access
 
Hi, is there a way to access the NXT-hardware directly with pbLua ? Are there any hidden commands to allow this ? Any idea ? Thanks in advance Bye Christian (17 years ago, 18-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  pbLua PCF8574
 
Hi, has anybody successfully tried to read ports from I2C connected PCF8574 with pbLua (Beta-8) ? Writing and setting ports is no problem, but reading ports fails. The return value is every times 0 (not NIL) Any idea ? Thanks in advance Bye (...) (17 years ago, 18-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: NXT pbLua Online for testing
 
(...) If you like to see how it connected and wired, vistit this URL (URL) blackbox is a Linux-System (running from CF) for NXT-BT/USB communication and CAMserv Bye Christian (17 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: internals
 
(...) If you go to (URL) click on the "NXT'reme" button, you will be able to download all sorts of official internals documentation. -- David Schilling (17 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  internals
 
I have difficulty in locating info on the internal of the nxt brick. Wonder if anyone may have reference. Thanks in advance! --Elizabeth (17 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: NXT pbLua Online for testing
 
(...) I forgot to tell you something ;-( user: nxt pass: pblua Sorry Christian (17 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: NXT pbLua Online for testing
 
(...) Additionally you can try the pbLua-PC-emulation. telnet nxt.moccy.dyndns.org Videostream of NXT/pbLua actions follow this weekend. This allows you to watch the running NXT, controled by your commands :D Enjoy and don't kill the system Bye (...) (17 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  NXT pbLua Online for testing
 
Hello World, I've connected my NXT with powerful pbLua to the internet. Now you can test pbLua without modifying your own NXT. Feel free to connect to public NXT with pbLua. Just try: telnet nxt.moccy.dyndns.org 10001 So far my batteries are full (...) (17 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: NBC arrays
 
Thank you for the valuable first-hand information. It is a pitty there is no byte-code instruction to copy a part of an array somewhere to a middle of another array (so that one does not have to index and replace element-by-element or allocate a new (...) (17 years ago, 13-May-07, to lugnet.robotics.nxt)
 
  NXT radar
 
I've built a 'true' NXT radar, using a 4 wire untangler to allow infinite rotation of a Sharp IR sensor from mindsensors.com. Details and images on www.nxtasy.org main page. Guy Ziv NXTasy.org (17 years ago, 12-May-07, to lugnet.robotics.nxt)  
 
  robo soccer
 
I'm not sure if this is a right forum to ask for this. I am wondering if there is anyone who may be interested in working with 10 high school kids on learning how to do robosoccer. --Elizabeth (17 years ago, 12-May-07, to lugnet.robotics.nxt)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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