Author |
Message |
Topic: PIC18F452 UART |
lgeorge123
Replies: 1
Views: 7958
|
Forum: General CCS C Discussion Posted: Wed May 15, 2019 5:52 am Subject: PIC18F452 UART |
In the follow codes, ascii value 1.23 is send to pic18f452 via uart. How to modify the code in order to make some judgement in ascii value ?
#include <18f452.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP ... |
Topic: cascade three 74hc595 with pic16f877a |
lgeorge123
Replies: 8
Views: 18617
|
Forum: General CCS C Discussion Posted: Thu Oct 04, 2018 3:34 am Subject: cascade three 74hc595 with pic16f877a |
Sorry , my d value in ccs c language is int32; |
Topic: cascade three 74hc595 with pic16f877a |
lgeorge123
Replies: 8
Views: 18617
|
Forum: General CCS C Discussion Posted: Thu Oct 04, 2018 3:12 am Subject: cascade three 74hc595 with pic16f877a |
What I want to do is show 70000 as binary digit in three 74hc595 IC |
Topic: cascade three 74hc595 with pic16f877a |
lgeorge123
Replies: 8
Views: 18617
|
Forum: General CCS C Discussion Posted: Thu Oct 04, 2018 2:58 am Subject: cascade three 74hc595 with pic16f877a |
I change the code as follows:
#include <16f877a.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP,NODEBUG
#use delay(clock=16000000)
#include <74595.c>
#define EXP_OUT_ENABLE PIN_E1
... |
Topic: cascade three 74hc595 with pic16f877a |
lgeorge123
Replies: 8
Views: 18617
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2018 8:00 pm Subject: cascade three 74hc595 with pic16f877a |
I have three 74hc595d cascade with pic16f877a. The circuit part with 74hc595 is test with Arduino and is ok. The code is as follows:
#include <16f877a.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP,NODE ... |
Topic: float to int16 |
lgeorge123
Replies: 1
Views: 4470
|
Forum: General CCS C Discussion Posted: Sun Nov 28, 2010 9:14 am Subject: float to int16 |
I have the following code to convert float to int16 array. The code compiles successfully, but after simulation the array value is not correct. Can someone help me???
#include <18F452.h>
#in ... |
Topic: reading bin file from MMC card using pic16f876 |
lgeorge123
Replies: 1
Views: 3234
|
Forum: General CCS C Discussion Posted: Sat May 22, 2010 6:26 am Subject: reading bin file from MMC card using pic16f876 |
Hi everybody, I have a bitmap stored in bin file and saved in mmc to be read by pic16f876 and display in graphic lcd. Can someone give me suggestions or any other links how can I decode this bin file ... |
Topic: what is the max speed of this UART function |
lgeorge123
Replies: 3
Views: 4658
|
Forum: General CCS C Discussion Posted: Mon Feb 01, 2010 3:15 am Subject: what is the max speed of this UART function |
I am using ft232BM ( virtual com port IC) and 18f4550 and connect to pc usb port. Under the following codes what is the speed of the transfer rate in baud rate ? If I set the baud rate in 1M , will it ... |
Topic: kbd and lcd share the same port |
lgeorge123
Replies: 5
Views: 6024
|
Forum: General CCS C Discussion Posted: Mon Jan 04, 2010 4:56 am Subject: kbd and lcd share the same port |
Thanks all of your help !! |
Topic: kbd and lcd share the same port |
lgeorge123
Replies: 5
Views: 6024
|
Forum: General CCS C Discussion Posted: Sun Jan 03, 2010 7:50 am Subject: kbd and lcd share the same port |
Is it possible kbd and lcd share the same port (e.g. port d ) on microchip mcu like 16f877 using ccs c with standard ccs c library ?? If so, please give me the link or diagram. I also search this foru ... |
Topic: read eeprom data which is stored as intel hex code |
lgeorge123
Replies: 1
Views: 3775
|
Forum: General CCS C Discussion Posted: Mon Apr 06, 2009 6:55 am Subject: read eeprom data which is stored as intel hex code |
I know that intel hex code format is ascii and if I store some data into eeprom using this format by programmer . After reading from eeprom is it needed to convert to hex code , that is if data is 00 ... |
Topic: ccs int32 calculation |
lgeorge123
Replies: 1
Views: 3086
|
Forum: General CCS C Discussion Posted: Wed Mar 18, 2009 7:30 am Subject: ccs int32 calculation |
I have a prgram to calculate some variables.
int16 cal_x_min,cal_x_max,cal_y_min,cal_y_max,x_coord,y_coord;
int32 x_coord320,y_coord240
cal_x_min=0x0123;
cal_x_max=0x0034;
cal_y_min=0x0567;
cal_ ... |
Topic: pointer to array problem |
lgeorge123
Replies: 1
Views: 3589
|
Forum: General CCS C Discussion Posted: Fri Mar 13, 2009 2:08 am Subject: pointer to array problem |
I have a ccs c program to display several bitmaps , it depends on variable size . No matter I wrote the pointer ptr1 assign to several variables using Malab IDE sim to stimulate program NO correct arr ... |
Topic: how to set pic18f452 to its max pwm frequency |
lgeorge123
Replies: 2
Views: 4531
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2009 8:09 am Subject: how to set pic18f452 to its max pwm frequency |
using pic18f452 and crystal 20MHz , for the code :
setup_timer_2(T2_DIV_BY_1,255, 1) , I only get 20KHZ pwm frequency.
So how can I set to its max frequency ?????? |
Topic: display bitmap using S1D13700F02 chip |
lgeorge123
Replies: 1
Views: 3283
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2008 7:13 am Subject: display bitmap using S1D13700F02 chip |
Can anyone give me any links of source codes using microchip pic and epson s1d13700f02 to display bitmap using GLCD , Thanks !!! |
|