Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
			
		
		
			- 
				
																			 klamm
- Posts: 2
- Joined: 16 Jan 2011, 12:10
						
					
													
							
						
									
						Post
					
								by klamm » 
			
			
			
			
			
			A (simple) question:
I have the NXT 2.0 color-sensor and use it in light-sensor-mode.
 
I want to save the ambient light value to a variable.
How can I read the light value (1-100) out of the sensor? Or isnt' it possible width NXT-G?
 
(I want to store the ambient light and periodically check for a diff>x ... then do something.)
 
		 
				
		
		 
	 
				
		
		
			- 
				
																			 klamm
- Posts: 2
- Joined: 16 Jan 2011, 12:10
						
					
													
							
						
									
						Post
					
								by klamm » 
			
			
			
			
			
			Got it ... the light intensity is outputted as "recognized color"  

 
		 
				
		
		 
	 
	
	
	
		
		Users browsing this forum: No registered users and 3 guests