×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    5

    demo: N95 Acceleration Sensor Controlled LEGO NXT

    Thanks to info found in this forum, I am able to put together a demo
    using the N95 Acceleration Sensor to control a LEGO NXT robot car.

    Watch the video http://www.youtube.com/watch?v=0sl1Q6S3yuo

    Python code in http://goodan28.googlepages.com/xyz2nxt

    Cheers
    Last edited by goodan; 2007-12-13 at 10:52.

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Talking Re: N95 Acceleration Sensor Controlled LEGO NXT

    fwd = chr(8) + chr(0) + chr(128) + chr(9) + chr(0)+ chr(4) + "fwd" + chr(0)
    rwd = chr(8) + chr(0) + chr(128) + chr(9) + chr(0) + chr(4) + "rwd" + chr(0)
    left = chr(9) + chr(0) + chr(128) + chr(9) + chr(0) + chr(5) + "left" + chr(0)
    right = chr(10) + chr(0) + chr(128) + chr(9) + chr(0) + chr(6) + "right" + chr(0)
    stop = chr(9) + chr(0) + chr(128) + chr(9) + chr(0) + chr(5) + "stop" + chr(0)
    thank's. but I want talk about this line.
    how can you define this variable?when I try, this line show error.

Similar Threads

  1. N95 Accelerometer & JSR-256
    By AnthonyAndrews in forum Mobile Java General
    Replies: 9
    Last Post: 2009-04-21, 22:12
  2. Replies: 84
    Last Post: 2008-03-04, 23:25
  3. Classic N95 vs US ver. N95
    By qwerty0824 in forum General Development Questions
    Replies: 5
    Last Post: 2007-09-13, 18:09
  4. N95 Some Questions & Suggestions
    By subzero_brighton in forum General Development Questions
    Replies: 0
    Last Post: 2007-06-22, 15:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×