Author |
Message |
Topic: Problem with SPI - PIC16F687 |
vinims
Replies: 2
Views: 4744
|
Forum: General CCS C Discussion Posted: Wed Aug 16, 2006 8:22 am Subject: Problem with SPI - PIC16F687 |
What is your compiler version?
3.249
How do you know your program crashes? You have no delay between setting TEST 0 to 1, so the output will be low for only a few clock cycles.
After spi_writ ... |
Topic: Problem with SPI - PIC16F687 |
vinims
Replies: 2
Views: 4744
|
Forum: General CCS C Discussion Posted: Wed Aug 16, 2006 6:41 am Subject: Problem with SPI - PIC16F687 |
When I try to write a byte on SPI, the program crashes.
Here is my code:
#include "16F687.h"
#fuses XT, NOWDT, PUT, NOMCLR, NOBROWNOUT, NOCPD, NOPROTECT, NOFCMEN, NOIESO
#use delay ... |
Topic: Problems with rs232 interruption |
vinims
Replies: 4
Views: 8709
|
Forum: General CCS C Discussion Posted: Mon Jan 31, 2005 5:57 am Subject: Problems with rs232 interruption |
Hi,
I wrote this code:
*************************************************************
#include "16F627.H"
#fuses XT, NOWDT, NOPROTECT, NOMCLR, NOBROWNOUT, NOLVP, NOCPD, PUT
#use delay (clock ... |
|