| | 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) (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
|
| | Re: NXT Programming with C Question
|
|
(...) Hi there, Thanks for venturing those reasons. I had been thinking that with the release of the NXT firmware that there may be options to compile code that worked directly with the firmware. Cheers (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
|
| | Re: NXT Programming with C Question
|
|
(...) Hi Thanks for the fast response, I think I'll have a look at the pbLua firmware. What I am working towards is a method of running Haskell programs on the NXT by converting to C bytecodes first. (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
|
| | Re: NXT Programming with C Question
|
|
(...) I suspect it could, but I'm not sure that's an approach you want to take. For one thing, there's the question of how to address and handle all the special HW that is attached to the ARM inside the NXT... and furthermore communicate with the (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
|
| | Re: NXT Programming with C Question
|
|
(...) There's no reason you can't compile straight ANSI C and run it on the NXT. I was doing it last year and ran an ATMEL sample program that turned the NXT into the world's most expensive 256K (not M) Flash drive :-) The hard part is using the (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
|
| | NXT Programming with C Question
|
|
Hi there: I've been trying to find a method of coding the NXT using C, however the existing languages available, such as RobotC, or NBC/NXC etc all seem to be C-like languages and not ANSI C. This seems to be the trend, but does anyone know why (...) (18 years ago, 19-May-07, to 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 (18 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 (18 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 (18 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 (...) (18 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 (18 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 (18 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 (18 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 (18 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 (...) (18 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 (...) (18 years ago, 18-May-07, to lugnet.robotics.nxt)
|
|
| | Re: OS-X driver for the Vision Command cam ?
|
|
(...) good for anything else. Does anyone else's run faster? (18 years ago, 17-May-07, to lugnet.robotics.vc)
|
|
| | Re: circular pointer
|
|
(...) There's something about that too in the same book. If I have some time this weekend I'll try to figure that one out. (thanks for the pointer, I'd forgotten about it) linmix (18 years ago, 17-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
(...) Another way to accomplish the same result with less code and less memory is to use exponential smoothing. (see Wikipedia) The method uses coefficients between 0 and 1, but if you want to use integers you can always use the integer numerator (...) (18 years ago, 16-May-07, to lugnet.robotics)
|
|
| | Re: Building and downloading NXT firmware
|
|
(...) Thanks for trying: You need just to look at the NXTGCC project. You should probably be able to start by reading nxt.pdf at (URL) then install either the winarm or (URL) toolchains. Finally download the zip file from (URL) see if you can (...) (18 years ago, 14-May-07, to lugnet.robotics.nxt.nxthacking)
|