PBLUA DOWNLOAD

DisableNXT 1 — your fast stuff, — in here For custom hardware you will most likely only need two versions of this call. Note the spikes on the blue trace, caused by cross coupling across only 25cm of cable length 25cm modular cable cross coupling clock to enlarge DisableNXT is best used for short bursts, packets and controlling the pins, only , like demonstrated here: A ‘1’, as argument, will bring the output to an high state, a ‘0’ to a low state.

pblua

Uploader: Tagrel
Date Added: 27 May 2013
File Size: 27.52 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 24594
Price: Free* [*Free Regsitration Required]

The example above will do nothing else, but toggle the state of the digital pins on the push of a button. It is possible to chain in direct pin driving or querying methods in the middle of e.

Until this is completed, you may wish to pbpua through the yet few pblu of applied pbLua science, here. Just a few notes on getting the most pblux of direct pin driving methods in pbLua.

Note the spikes on the blue trace, caused by cross coupling across only 25cm of cable length 25cm modular cable cross coupling clock to enlarge RJ crimp connector a crimping tool a plug also available as cheaper plastic version a ready to use plug several hundred meters of modular cable if you have Lego connectors or visited Philo’s page ; Getting In Control The pbLua functions associated with bplua around the input ports are: Pin 1 serves two functions, which are mutually exclusive.

  DIABLO 2 PATCH 1.13A DOWNLOAD

Schematic of an input port: InputSetType port, 0 — because “mode” defaults to “0”, one could just type: It is spelled N-X-T, but pronounced pbLua.

pblua

InputSetDir port, dig0, dig1 nxt. I2CReceiveData port [, rxlen] Note that these can be used all together!

pblua

Keep in mind that this is still a “weak” port pin. InputSetState port, 11 — and so on InputSetState port10 nxt. To set or change the “direction” of a port’s pin, call nxt.

pbLua Corner

Hooking It Up If you can’t get your hand on the special NXT plugs, the cheapest and easiest way, of attaching your own stuff to the Lego NXT, is buying a set of cables, cut them and crimp on a standard RJ connector. In conjunction with an attached modular cables like the ones that came with your NXTthe signals look like this.

Other cheap stuff you may need German distributor examples: InputSetState port01 — ButtonRead will not work if interrupt turned off! Hitting the orange button quits the “program”. DisableNXT 1 — your fast stuff, — in here Well, probably this is not what you expected, right?

  MCDP 1 WARFIGHTING DOWNLOAD

DisableNXT is best used for short bursts, packets and controlling the pins, onlylike demonstrated here: InputSetState port00 nxt. InputSetDir port11 while 1 do nxt.

New pbLua Beta13o – Lua for the LEGO MINDSTORMS NXT

I2CReceiveData port [, rxlen]. A ‘1’, as argument for any of the two digital pins, will make the pin an output, a ‘0’ will change its state to an input.

A ‘1’, as argument, will bring the output to an high state, a ‘0’ to a low state. Especially in conjunction with the 4k7 series resistor, it has limited driving and sink capabilities.

pins and ports

InputSetState port0 pblha, 1 end nxt. InputSetType port, 11 To set or change the “direction” of a port’s pin, call nxt. InputSetDir port00 end — end function Now, call the function ‘t’ with an argument that represents your port number For custom hardware you will most likely only need two versions of this call. DisableNXT 1 and turned back on with nxt.