Author |
Message |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Tue Oct 29, 2013 1:53 pm Subject: interrupt rs232 18F26K80 |
Thanks guys |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Sun Oct 27, 2013 3:33 pm Subject: interrupt rs232 18F26K80 |
enable_interrupts(INT_RDA|INT_RDA2);
This is wrong. It has to be done with sequential calls to enable_interrupts()
for each INT_xxx.
Really thanks! now it works
enable_interrupts(INT_RD ... |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Sun Oct 27, 2013 1:20 pm Subject: interrupt rs232 18F26K80 |
sorry but I've already answered your questions in my previous post, including the version number |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Sun Oct 27, 2013 1:09 pm Subject: interrupt rs232 18F26K80 |
with
setup_spi(FALSE);
setup_spi2(FALSE);
still don't work |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Sun Oct 27, 2013 1:06 pm Subject: interrupt rs232 18F26K80 |
#use rs232(baud=9600,parity=N,stop=1,xmit=PIN_C6,rcv=PIN_C7,bits=8,stream=BT2,RESTART_WDT) Why restart the WDT when watchdog is disabled anyway?
I don't think it causes your problem but it ad ... |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Sun Oct 27, 2013 10:56 am Subject: interrupt rs232 18F26K80 |
Thank you very much Ttelmah.
I made some changes, but it doesn't work.
#include <18F26K80.h>
#FUSES NOWDT // No Watch Dog Timer
#FUSES NOXINST ... |
Topic: interrupt rs232 18F26K80 |
adalucio
Replies: 15
Views: 23525
|
Forum: General CCS C Discussion Posted: Sun Oct 27, 2013 5:25 am Subject: interrupt rs232 18F26K80 |
Hi all,
I want to setup interrupt on rs232 data received for both streams BT2 and BT4. How can I do that? I have tried this code, but it doesn't work. PIN_LED_A and PIN_LED_B never get on.
Thank ... |
Topic: pic stop working during float division? |
adalucio
Replies: 3
Views: 5948
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 1:57 am Subject: pic stop working during float division? |
Solved with this code. thanks
#include <main.h>
#include "flex_lcd_16x2.c"
unsigned int16 cicliA = 0;
float portataA = 0;
unsigned int16 cicliB = 0;
float portataB = ... |
Topic: pic stop working during float division? |
adalucio
Replies: 3
Views: 5948
|
Forum: General CCS C Discussion Posted: Sat May 14, 2011 9:18 am Subject: pic stop working during float division? |
Hi. I have got a pic16f876 (clock 20MHz). I need to count pulses on rb4 and rb5 and do some calculations.
When arrives too many pulses the pic stop working. why?
Thanks
#include <main.h& ... |
Topic: 16f876 and lcd |
adalucio
Replies: 2
Views: 5704
|
Forum: General CCS C Discussion Posted: Tue May 10, 2011 2:11 am Subject: 16f876 and lcd |
Thanks it worked
|
Topic: 16f876 and lcd |
adalucio
Replies: 2
Views: 5704
|
Forum: General CCS C Discussion Posted: Mon May 09, 2011 12:11 pm Subject: 16f876 and lcd |
Hi all
I'm trying to use a (working) lcd (20x2) with a 16f876. I have a 20Mhz quartz.
I see only the first line with all square.
DB4 - RA2
DB5 - RA0
DB6 - RA1
DB7 - RA4
RS - RB6
RW - RA ... |
Topic: pic18f45k22 and MMC SD |
adalucio
Replies: 2
Views: 5620
|
Forum: General CCS C Discussion Posted: Fri Apr 22, 2011 5:57 am Subject: pic18f45k22 and MMC SD |
THANKS!!!!
the problem was PIN_D1 and PIN_D4. |
Topic: pic18f45k22 and MMC SD |
adalucio
Replies: 2
Views: 5620
|
Forum: General CCS C Discussion Posted: Fri Apr 22, 2011 2:54 am Subject: pic18f45k22 and MMC SD |
Hi all.
I want to test reading/writing on a SD Card (tried 16MB and 1GB) with a pic18f45k22 running at 3,3v. I'm using pulldown and pullup resistors (
#include <main.h>
#use fast_io(D& ... |
Topic: Nokia6100 LCD drivers for Epson & Philips |
adalucio
Replies: 3
Views: 44005
|
Forum: Code Library Posted: Sat Nov 27, 2010 9:08 am Subject: Nokia6100 LCD drivers for Epson & Philips |
Is there any array of bigger fonts? |
Topic: 18f4550 and nokia lcd |
adalucio
Replies: 3
Views: 6528
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2010 10:00 am Subject: 18f4550 and nokia lcd |
SOLVED!!!!!
it seems that I cannot write directly SSPEN
so I have to change
SSPEN=0;
to
setup_spi(SPI_SS_DISABLED);
and
SSPEN=1;
to
setup_spi ... |
|