Caros Colega Eu Estou Precisando De Ajuda

Started by cesar35, November 13, 2008, 11:57:26 AM

Previous topic - Next topic

cesar35

Caros colegas eu estou trabalhando no projéto de um robó via rf usando tws eo rws do link( http://www.rentron.com/ruf-bot.htm).O projeto está pronto.o pic já programados.Mais o tx não comunica com o rx .eu não tenho muita pratica em programação.Como eu disse não tenho muita esperincia .Mais eu a cho que tém um erro no tx .Outra coisa o projeto usa tws 434 eo rws 434 eu usei tws433 eo rws 433.
Pesso ajuda aos colegas.

Um abraço a todos.

southafrikanse

Em que linguagem estás a programar e um pouco de código ajudava também.

O Tx não comunica com o RX ou o RX simplesmente não recebe?
Blog Pessoal | Tugatrónica | Fórum Webtuga
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."

cesar35

#2
Caro amigo eu temho codico compillado  ok

; PicBasic Pro Compiler 2.46, Ã,© 1998, 2005 microEngineering Labs, Inc. All Rights Reserved.  
PM_USED EQU 1

INCLUDE "16F84A.INC"

RAM_START   EQU 0000Ch
RAM_END EQU 0004Fh
RAM_BANKS   EQU 00001h
BANK0_START EQU 0000Ch
BANK0_END   EQU 0004Fh
EEPROM_START EQU 02100h
EEPROM_END  EQU 0213Fh

R0  EQU RAM_START + 000h
R1  EQU RAM_START + 002h
R2  EQU RAM_START + 004h
R3  EQU RAM_START + 006h
R4  EQU RAM_START + 008h
R5  EQU RAM_START + 00Ah
R6  EQU RAM_START + 00Ch
R7  EQU RAM_START + 00Eh
R8  EQU RAM_START + 010h
FLAGS   EQU RAM_START + 012h
GOP EQU RAM_START + 013h
RM1 EQU RAM_START + 014h
RM2 EQU RAM_START + 015h
RR1 EQU RAM_START + 016h
RR2 EQU RAM_START + 017h
_PORTL   EQU PORTB
_PORTH   EQU PORTA
_TRISL   EQU TRISB
_TRISH   EQU TRISA
INCLUDE "RX.MAC"
INCLUDE "PBPPIC14.LIB"


END
asm


; PicBasic Pro Compiler 2.46, Ã,© 1998, 2005 microEngineering Labs, Inc. All Rights Reserved.  
PM_USED EQU 1

INCLUDE "16F84A.INC"

RAM_START   EQU 0000Ch
RAM_END EQU 0004Fh
RAM_BANKS   EQU 00001h
BANK0_START EQU 0000Ch
BANK0_END   EQU 0004Fh
EEPROM_START EQU 02100h
EEPROM_END  EQU 0213Fh

R0  EQU RAM_START + 000h
R1  EQU RAM_START + 002h
R2  EQU RAM_START + 004h
R3  EQU RAM_START + 006h
R4  EQU RAM_START + 008h
R5  EQU RAM_START + 00Ah
R6  EQU RAM_START + 00Ch
R7  EQU RAM_START + 00Eh
R8  EQU RAM_START + 010h
FLAGS   EQU RAM_START + 012h
GOP EQU RAM_START + 013h
RM1 EQU RAM_START + 014h
RM2 EQU RAM_START + 015h
RR1 EQU RAM_START + 016h
RR2 EQU RAM_START + 017h
_PORTL   EQU PORTB
_PORTH   EQU PORTA
_TRISL   EQU TRISB
_TRISH   EQU TRISA
INCLUDE "TX.MAC"
INCLUDE "PBPPIC14.LIB"


END

southafrikanse

Segundo percebi, tens as declarações das tuas variáveis e da porta série inicializadas.

No entanto, não vejo aí o programa "main" que estás a querer implementar.
Blog Pessoal | Tugatrónica | Fórum Webtuga
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."

cesar35

Caro amigo em fim tive uma evolucâo no codigo em picbasic  mais eu acho que tem erro.
Pelo que um amigo me disse que o codigo está em picbasic  eu estou usando o picbasic pró  eu tenho que atualisa .codigo para picbasic pró.você pode ajudar ?