Home ] Search ] Site Map ] DIG Course ] PDI4 Course ] AUT kursus ] [ NXT - NXC ]
NXT - NXC

Up ] #1 ] #2 ] #3 ] #4 ] #5 ] #7 ] #8 ]


NXT - NXC - Not eXactly C

 

 

Last updated: 21-10-12


 

 Lecture

 
#1
bullet Getting started with NXT / NXC: 
In order to get full advantage of your NXT-brick must you download drivers and software from the net.
With the BricxCC at your computer can you use NXC for programming.
bullet PDF-VERSION: Getting_started_with_NXC.pdf
 
#2
bullet Exercises with rising / falling edge detection:  
In order to write NXC programs must you combine data structures / variables with control stuctures.
control stuctures:
bullet if( condition) ... ;
bulletif (condition) ... ; else ...;
bullet while( condition) .... ;
bulletfor ( start value; stop condition; increment) .....;
bullet switch( int_variable) { case x: ..... }
.
bullet PDF-Version:  2_Rising_Falling_detection.pdf


Its often useful to detect changes of signals like rising or falling edges (0 => 1 or  1 => 0) and this lecture present different ways to obtain this.

#3
bullet Tasks and State programming:
NXT in combination with NXC offers the ability to create real-time programming with tasks.
Please note that task-programming could give you problems if the tasks try to control the same output (like the same motor)
The solution to this problem called MuTex and will be presented later.
bullet PDF.-Version:  3_Tasks_and_State_programming.pdf

The Ideas of using states in programming very efficient when it comes to complex programming.

#4
bullet Case study: One button counter
 

 

#5
bullet Case study: Ultrasonic Radar
 

xxx

#6
bullet Case study: Linefollower
 

xxxx

#7
bullet PID - Regulators
xxxxxx
#8
bullet Case study: NXT Segway
 

xxxxxx

#9
bullet
#10
bullet 

 

#11
bullet 

 

#12
bullet
#13
bullet

 

#14
bullet

 

#15
bullet

 

#16
bullet 
 
#17
bullet
 
#18
bullet
 
#19
bullet
 
#20
bullet
 
#21
bullet
 
#22
bullet
 

 

 

   

 

 

 

   
 
 

 

   
       

Hit Counter