RF transmission using PIC16F877A help

Thread Starter

shinigami.alv

Joined Feb 23, 2011
4
I have 2 PIC16F877A with me now and would like to transmit signals using RF-RX-315 and RF-TX-315 from cytron. I've downloaded the sample code from the website but it's for 16F876A. so i'm not sure whether the code is compatible with my 877A or not? i mean the configuration part. anyone? =)

below is part of the code:

#include <pic.h>


__CONFIG (0x3F32);

#define inc_button RA1
#define dec_button RA2
#define send_button RA3
#define display PORTB

#define SYNC_DATA 0x00
#define HEADER 0xaa
 

BillO

Joined Nov 24, 2008
999
It's C code, so as long as you set the target MCU correctly in the compiler, it should be fine. As far as the configuration is concerned, look it up. Every compiler is different in how configuration is set, but each PIC has fuse configurations defined in their data sheet. You'll need the data sheet and the compiler docs.
 
Last edited:
Top