Author |
Message |
Topic: Code MicroC MRF24J40MA |
Knight_FlyCn
Replies: 1
Views: 33150
|
Forum: Code Library Posted: Sat Sep 28, 2013 12:06 pm Subject: Increase the distance data transmission |
When I use code, I can transmit 20cm. How do I increase the transmission distance up? If I want to transfer the transfer of 124 356 how, because each transmission only 8bit DATA_TX |
Topic: Interrupt in RB0 |
Knight_FlyCn
Replies: 5
Views: 6758
|
Forum: General CCS C Discussion Posted: Mon Jun 10, 2013 11:11 am Subject: Interrupt in RB0 |
I can only say that my code runs perfectly. But the RB0 interrupt is not working. It only happens when I reset the pic.
And my define, I use my own def_18F4620.c rather not use the ccs file 18F4620 ... |
Topic: Interrupt in RB0 |
Knight_FlyCn
Replies: 5
Views: 6758
|
Forum: General CCS C Discussion Posted: Mon Jun 10, 2013 12:10 am Subject: Interrupt in RB0 |
Interrupt in RB0 my code not working. Why ??
#include <Coordinator.h>
#include "def_18f4620.c"
#include "slave_2_tx_rx.h"
#use delay(clock = 4000000)
#use rs ... |
Topic: LCD 2*16 with 18f4620 |
Knight_FlyCn
Replies: 7
Views: 10440
|
Forum: General CCS C Discussion Posted: Thu Jun 06, 2013 1:13 pm Subject: LCD 2*16 with 18f4620 |
#define LCD_ENABLE_PIN TRISD2
#define LCD_RS_PIN TRISD0
#define LCD_RW_PIN TRISD1 ... |
Topic: LCD 2*16 with 18f4620 |
Knight_FlyCn
Replies: 7
Views: 10440
|
Forum: General CCS C Discussion Posted: Thu Jun 06, 2013 1:11 pm Subject: LCD 2*16 with 18f4620 |
I repair it
#include <RFD.h>
#include "string.h"
#include "stdio.h"
#include "def_18f4620.c"
#include "slave_1_tx_rx.h"
#include "LCD.C& ... |
Topic: LCD 2*16 with 18f4620 |
Knight_FlyCn
Replies: 7
Views: 10440
|
Forum: General CCS C Discussion Posted: Thu Jun 06, 2013 12:26 pm Subject: LCD 2*16 with 18f4620 |
This is my code
#include <RFD.h>
#include "string.h"
#include "stdio.h"
#include "def_18f4620.c"
#include "slave_1_tx_rx.h"
#include "LCD.C&q ... |
Topic: LCD 2*16 with 18f4620 |
Knight_FlyCn
Replies: 7
Views: 10440
|
Forum: General CCS C Discussion Posted: Wed Jun 05, 2013 1:00 pm Subject: LCD 2*16 with 18f4620 |
I finding code LCD 4bit for 18f4620. who can help me ? |
Topic: 18F4620 get data RX port |
Knight_FlyCn
Replies: 3
Views: 8263
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 12:05 pm Subject: 18F4620 get data RX port |
I read data from RX (RFID tag - Reader: RDM6300) by code:
volatile char StartFlag = 0;
volatile char StopFlag = 0;
char array[12];
int i;
#INT_RDA
void interrupt()
{
... |
Topic: Interrupt in Zigbee module |
Knight_FlyCn
Replies: 1
Views: 3911
|
Forum: General CCS C Discussion Posted: Sat May 25, 2013 12:37 pm Subject: Interrupt in Zigbee module |
I want to be interrupt of Zigbee per when module zigbee receive data. Port INT can make it ?. Who know, can help me ? |
Topic: PIC 18F4620 + RFID reader TTL |
Knight_FlyCn
Replies: 1
Views: 6657
|
Forum: General CCS C Discussion Posted: Sun May 19, 2013 11:30 am Subject: PIC 18F4620 + RFID reader TTL |
I have a project. Read tag in RFID and send to PIC 18F4620. After pic send to PC. See by terminal.
I connect pic and reader so by pictuer
http://i1081.photobucket.com/albums/j344/knight_flycn/12.jpg ... |
Topic: uart pic 18F4620 |
Knight_FlyCn
Replies: 2
Views: 4659
|
Forum: General CCS C Discussion Posted: Sat May 18, 2013 2:14 am Subject: uart pic 18F4620 |
I want function send data to port TX of Uart. I used pic 18f4620. who can help me.
/* _CPUDIV_OSC1_PLL2_1L, // Divide clock by 2
_FOSC_HS_1H, // Select High Speed (HS) oscill ... |
Topic: LCD 2*16 with 18f4620 |
Knight_FlyCn
Replies: 1
Views: 3694
|
Forum: General CCS C Discussion Posted: Wed May 15, 2013 10:44 am Subject: LCD 2*16 with 18f4620 |
I coding LCD for 18f4620. But not working.
#define rs LATD0
#define rw LATD1
#define en LATD2
And
#define lcd_d4 rd4
#define lcd_d5 rd5
#define lcd_d6 rd6
#define lcd_d7 rd7
Who ... |
Topic: Who can help me ? UART PIC18F4620 and ZigBee |
Knight_FlyCn
Replies: 2
Views: 4389
|
Forum: General CCS C Discussion Posted: Tue May 14, 2013 4:17 am Subject: Who can help me ? UART PIC18F4620 and ZigBee |
#include <Coordinator.h>
#include "def_18f4620.c"
#include "slave_2_tx_rx.h"
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
#define SPI_MODE_0 ... |
Topic: Error with 18F4620: Expecting a structure/union |
Knight_FlyCn
Replies: 2
Views: 6478
|
Forum: General CCS C Discussion Posted: Fri May 10, 2013 11:51 am Subject: Error with 18F4620: Expecting a structure/union |
I success
/* _CPUDIV_OSC1_PLL2_1L, // Divide clock by 2
_FOSC_HS_1H, // Select High Speed (HS) oscillator
_WDT_OFF_2H, // Watchdog Timer off
MCLRE_ON_3H ... |
Topic: Error with 18F4620: Expecting a structure/union |
Knight_FlyCn
Replies: 2
Views: 6478
|
Forum: General CCS C Discussion Posted: Fri May 10, 2013 11:00 am Subject: Error with 18F4620: Expecting a structure/union |
/* _CPUDIV_OSC1_PLL2_1L, // Divide clock by 2
_FOSC_HS_1H, // Select High Speed (HS) oscillator
_WDT_OFF_2H, // Watchdog Timer off
MCLRE_ON_3H // Ma ... |
|