Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 00:44
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 00:45
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 00:45
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 01:10
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 01:14
HaWe
Posts: 2500 Joined: 04 Nov 2014, 19:00
Post
by HaWe » 27 Jun 2013, 06:53
nice, this one I like most:
but just out of interest:
I'm curious about
Code: Select all
#define Wait(_ms) usleep( (_ms)*1000);
so Wait(1000) is equal to usleep(1000000 ) ?
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 07:21
usleep is a microsecond-based sleep so you need to multiply milliseconds by 1000 to use it the same as Wait(ms) in NXC.
John Hansen
HaWe
Posts: 2500 Joined: 04 Nov 2014, 19:00
Post
by HaWe » 27 Jun 2013, 09:28
aaah - I see...!
usleep = u(µ)sec....
anyway, looks promising!
Is there already a sreenshot for "hello world" ?
afanofosc
Site Admin
Posts: 1256 Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:
Post
by afanofosc » 27 Jun 2013, 12:38
I will be posting new pictures to my public photo album on Facebook. You do not need to be a member of facebook to see these.
https://www.facebook.com/media/set/?set ... c38173a858
If you are on facebook make sure you check out the LEGO MINDSTORMS EV3 group there. You can also connect with me via Google+ for EV3 news. Of course, it will be posted here as well.
John Hansen
Users browsing this forum: No registered users and 2 guests