Subject:
|
Re: New Beta 7 for pbLua is available
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Mon, 7 May 2007 20:09:31 GMT
|
Viewed:
|
19193 times
|
| |
| |
In lugnet.robotics.nxt, Ralph Hempel wrote:
> All,
>
> Yes, I've been busy and I have yet another Beta of pbLua available
> in the Download link at:
>
> <http://hempeldesigngroup.com/lego/pbLua>
>
> What's so special about this one? Well it's got some significant
> new features including:
>
> 1. The ability to turn the NXT off by pressing the orange
> button for at least three seconds
>
> 2. A startup screen that lets you select a Bluetooth device as the
> console. This will finally free you from the tether of the USB cord!
>
> 3. The RS485 high speed port now also supports standard baud
> rates from 1200 to 921600. This must be carefully used so
> that you don't flood the 128 byte RX and TX buffers at lower
> baud rates
>
> Of course, I still don't have decent docs for this, so I think
> that I had better stop adding features and start writing docs.
>
> Well, maybe a very primitive way to write data to FLASH would
> be a good idea...
>
> Anyways, enjoy, and if you have any questions feel free to ask.
>
> Ralph
pbLua Rocks with OSX !
Very good job Ralph!
BtConsole works out of the box at OSX. Now cables are from the past :D
This song is just for you!
demo = {}
demo.playMusic = function()
vol=1
C1=261;C2=523;C3=1047;C4=2093;
Cis1=277;Cis2=554;Cis3=1109;Cis4=2217;
D1=294;D2=587;D3=1175;D4=2349;
Dis1=311;Dis2=622;Dis3=1245;Dis4=2489;
E1=330;E2=659;E3=1319;E4=2637;
F1=349;F2=698;F3=1397;F4=2794;
Fis1=370;Fis2=740;Fis3=1480;
G1=392;G2=784;G3=1568;
Gis1=415;Gis2=831;Gis3=1661;
A1=440;A2=880;A3=1865;
Ais1=466;Ais2=932;Ais3=1865;
H1=494;H2=988;H3=1976;
s=2;
W0=1;
T1=s*1000;
T2=s*500;
T4=s*250;
T8=s*125;
note = {
A1,C1,E1,A2, H2,E1,C1,H2, C3,E1,C1,C3, Fis1,D1,A1,Fis2,
E1,C1,A1,C1, C1,E1,C1,A1, G1,A1,A1,A1, A1,C1,F1,E1,
A1,A1,C1,A2, H2,E1,C1,H2, C2,E1,C1,C2
};
dur = {
T2,T4,T4,T4, T4,T4,T4,T4, T4,T4,T4,T4, T4,T4,T4,T4,
T4,T4,T4,T4, T4,T4,T4,T4, T4,T4,T4,T4, T4,T4,T4,T4,
T4,T4,T4,T4, T4,T4,T4,T4, T4,T4,T4,T4
};
if(#note == #dur) then
for i=1,#note do
while(nxt.SoundGetStatus() == 0) do end
nxt.SoundTone(note[i],dur[i],vol)
end
-- demo.playMusic();
else
print ("Error: #note:"..#note.." dur:"..#dur.."");
exit();
end
end
demo.playMusic();
pbLua Rocks good old songs
Enjoy the alternate operating system directly at the NXT!
Thanks for all your work
Bye
Christian
|
|
Message is in Reply To:
| | New Beta 7 for pbLua is available
|
| All, Yes, I've been busy and I have yet another Beta of pbLua available in the Download link at: (URL) What's so special about this one? Well it's got some significant new features including: 1. The ability to turn the NXT off by pressing the orange (...) (18 years ago, 7-May-07, to lugnet.robotics.nxt)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in NXT programmable brick
|
|
|
|