| | What do these macros do?
|
|
I've been poking around with my NXT, and as usual I've decided to bite off more than I can chew. In trying to discover a way to *unset* pixels on the display without wiping the whole thing, I've been sifting through some of the less-discussed macros (...) (18 years ago, 11-Jan-07, to lugnet.robotics.nxt, lugnet.robotics)
|
|
| | Not eXactly C beta news (NBC)
|
|
I have released a new beta (b21) of NBC with built-in support for the Not eXactly C (NXC) programming language. The sourcecode and the Win32 binary are already up on the NBC website. The Mac OSX binary and Linux binary will be up later this evening. (...) (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) The presence of both opcodes comes from the early days of NBC when I was trying to understand the executable file format (before the days of documentation) and I knew that in the NXT-G compiler a clump had both upstream and downstream (...) (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) Thanks John - quite clear now. Though I still don't understand why there are 2 different opcodes that can be used for more or less the same thing??? Philo (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) linxt - (URL) - (URL) are others that I have heard about but can't find links for (or recall the names of) at the moment. My nexttool utility runs on Mac OSX and on Linux and it can do all kinds of cool things but it is built on top of libusb (...) (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) Ok, I'll bite: which external tools work well on OS X and Linux? Thanks, -Tim (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) Whoops. The duration values in each of the PlayTone calls should be 400 rather than 40. John Hansen (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) Here is a simple multi-threaded NQC program: task music() { while (true) { PlayTone(262,40); Wait(50); PlayTone(294,40); Wait(50); PlayTone(330,40); Wait(50); PlayTone(294,40); Wait(50); } } task main() { start music; while(true) { (...) (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) Hello John, Could you comment a little the use of Precedes/Follows for task switching? I have trouble figuring when to use one or the other (or both?) Thanks in advance, Philo (18 years ago, 9-Jan-07, to lugnet.robotics)
|
|
| | Re: Drive types
|
|
(...) NXC is something like NQC and it is available for Windows, Mac OS X, and Linux platforms. While NXC is not yet complete, it is very functional with a large API for the NXT. Not eXactly C (NXC) is currently available in the form of NBC beta 20. (...) (18 years ago, 8-Jan-07, to lugnet.robotics)
|