Author |
Message |
Topic: AS1108 7 Segment Driver |
trirath
Replies: 3
Views: 36627
|
Forum: Code Library Posted: Thu Jun 16, 2011 9:48 pm Subject: AS1108 7 Segment Driver |
You can connect with vary PIC16F or 18F if there are I/O pin (TTL).
In a part of schematic you can see in data sheet AS1108 that show how to connect AS1108 with seven segment (Common Cathode and t ... |
Topic: AS1108 7 Segment Driver |
trirath
Replies: 3
Views: 36627
|
Forum: Code Library Posted: Mon Nov 22, 2010 11:00 pm Subject: AS1108 7 Segment Driver |
//////////////////////////////////////////////////////////////////////////////////////////////
// Project: Soft Spi Driver AS1108 4 digits 7 segment driver //
... |
Topic: MCP3021 not working only able to read upper 4 bits |
trirath
Replies: 2
Views: 4094
|
Forum: General CCS C Discussion Posted: Sat Nov 20, 2010 8:24 am Subject: MCP3021 not working only able to read upper 4 bits |
There are many example code in this forum you can search MCP3202, MCP3204 or MCP32.
Anyway, CCS Complier provided driver in directory Driver MCP3204 and MCP3208 that work. When I adapted to MCP3202 t ... |
Topic: lcd flex driver |
trirath
Replies: 14
Views: 17164
|
Forum: General CCS C Discussion Posted: Sun Sep 05, 2010 1:51 am Subject: lcd flex driver |
Hi PCM Programmer
1) I tested them with unplug programmer out while still using PORT B5,B6.
Still Not displayed properly .
2) I tested them with move PIN B5 AND B6 to others B5 to C2 ,B6 to C ... |
Topic: lcd flex driver |
trirath
Replies: 14
Views: 17164
|
Forum: General CCS C Discussion Posted: Sat Sep 04, 2010 5:29 am Subject: lcd flex driver |
I didn't reply for a while because I wasn't sure who replied.
Does "tirath" = "subi" ? But anyway, here is a reply:
#define LCD_DB4 PIN_C0
#define LCD_DB5 PIN_C1
#defi ... |
Topic: lcd flex driver |
trirath
Replies: 14
Views: 17164
|
Forum: General CCS C Discussion Posted: Mon Aug 30, 2010 1:34 am Subject: lcd flex driver |
I also used them with 16F873A (20Mhz). It work fine.
But I changed them run on 18F2550. Nothing display. I set clock 48 Mhz(18F2550).
I still not test in 18F2550 with 20 MHZ due to my LCD die.
On ... |
Topic: #int_rb and One button for different functions |
trirath
Replies: 1
Views: 3963
|
Forum: General CCS C Discussion Posted: Wed Aug 25, 2010 3:44 am Subject: #int_rb and One button for different functions |
Let see example and you can modify. It work fine but may not be expert code.
#int_RB
void menu_isr() {
if(!input(PIN_B4)) RB_ready=1;
} ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2010 6:24 am Subject: priority Interrupt |
hi Ttelmah and all
I found that code is working very well when use for PIC16F873A.
#include <16F873A.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use rs232 ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Wed Jun 30, 2010 5:12 am Subject: 2 Interrupt for 2 ch rs232 not work |
If add 'sample_early' like this
#use rs232(baud=9600 ,xmit=PIN_C6, rcv=PIN_C7,STREAM=MONITOR)
#use rs232(baud=9600,xmit=PIN_B1, rcv=PIN_B0,sample_early,STREAM=Client)
The r ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2010 9:48 am Subject: 2 Interrupt for 2 ch rs232 not work |
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,BORV46,CPUDIV1,VREGEN
#use delay(clock=48000000)
#use rs232(baud=9600 ,xmit=PIN_C6, rcv=PIN_C7,ST ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2010 9:38 am Subject: 2 Interrupt for 2 ch rs232 not work |
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,BORV46,CPUDIV1,VREGEN
#use delay(clock=48000000)
#use rs232(baud=9600 ,xmit=PIN_C6, rcv=PIN_C7,STRE ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2010 8:44 am Subject: 2 Interrupt for 2 ch rs232 not work |
Why this case is work for only 1 with int ext?
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,BORV46,CPUDIV1,VREGEN
#use delay(clock=48000000)
#use rs ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2010 4:31 am Subject: 2 Interrupt for 2 ch rs232 not work |
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,BORV46,CPUDIV1,VREGEN
#use delay(clock=48000000)
#use rs232(baud=38400 ,xmit=PIN_C6, rcv=PIN_C7,ST ... |
Topic: 2 Interrupt for 2 ch rs232 not work |
trirath
Replies: 9
Views: 9851
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2010 4:29 am Subject: 2 Interrupt for 2 ch rs232 not work |
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,BORV46,CPUDIV1,VREGEN
#use delay(clock=48000000)
#use rs232(baud=38400 ,xmit=PIN_C6, rcv=PIN_C7,STREAM=MONI ... |
Topic: max232 tx / rx |
trirath
Replies: 11
Views: 15900
|
Forum: General CCS C Discussion Posted: Sat Jun 26, 2010 7:28 pm Subject: max232 tx / rx |
visit http://www.silaresearch.com/source.php (Thai) choose PKIT-5R for receiver and PKIT-5T for transmitter.
There are free source code that have advantage for this even if use old version CCS. |
|