Hello
I just saw this piece of code in another thread
(http://www.picbasic.co.uk/forum/show...hlight=I2CREAD):Is it possible to do the same for this code:Code:for n=0 to 19 temp1=n+(rec*20)+temp I2CREAD SDA,SCL,160,temp1,[text[n]] text[n]=text[n]-48 next nIs thought this syntax would not be possible in PBP and my Editor won't allow this anyway.Code:LED var byte[3] LED0 var GPIO.0 LED1 var GPIO.1 LED2 var GPIO.2 Counter var byte MAIN: for Counter = 0 to 2 Toggle LED[counter] '<<<< is this possible another way? pause 200 next counter goto main end
I must miss something...


 
		
		 
			 
			 
			 
					
					 PBP syntax - numbering variable
 PBP syntax - numbering variable
		 
						
					

 Originally Posted by flotulopex
 Originally Posted by flotulopex
					
 "REFERENCE" is the correct term
 "REFERENCE" is the correct term
		 
 
		
 
				

Bookmarks