As can seen at Case 20.. it works propperly to give out the text: 1 on..
Only if i try to controlinduvidual a port.. It won't work. Maybe somebody can tell me why i can't control the ports? _________________ Bascom AVR 1.11.8.8 full version
STK500 Programmer
ISP Programmer
Joined: 24 Jun 2004 Posts: 190 Location: 127.0.0.1
Posted: Wed Jul 21, 2004 8:23 am Post subject:
Doesn't work either.. The case statement works fine.. Because if i hit 33 it gives me the NOT FOUND error.. but the controll of the port doesn't work yet.. _________________ Bascom AVR 1.11.8.8 full version
STK500 Programmer
ISP Programmer
Portb=255'had to do this with the AVR Development board Do Getrc5(baddress , Bcommand)'recieving data from ir eye
'----------------------------------------------------- '|Starting of build-in code analyser for RC5 '|Baddress and Bcommand can be readout with terminal programm If Baddress <255Then'< otherwise terminal output will be continue 255 255 when no data send Print Baddress ;" "; Bcommand 'gives readout on terminal End If
If Baddress =21Then'checks for valid address SelectCase Bcommand 'set or resets the output pins when there is a command
The code is made for a 90s2313 and recieve rc5 and will controll 4 relays.
A scheme will posted later when i finished that part. _________________ Bascom AVR 1.11.8.8 full version
STK500 Programmer
ISP Programmer
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum