Author |
Message |
Topic: Flex lcd driver and decimal numbers |
wordizlife
Replies: 13
Views: 17932
|
Forum: General CCS C Discussion Posted: Tue May 01, 2012 7:14 pm Subject: Flex lcd driver and decimal numbers |
Works fine for the numbers now, my problem was with my coding.
Now I am wondering how to get the screen to scroll up or down when needed. Can the lcd_gotoxy function be used for this? |
Topic: Flex lcd driver and decimal numbers |
wordizlife
Replies: 13
Views: 17932
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2012 3:12 pm Subject: Flex lcd driver and decimal numbers |
Can this driver be used to properly send decimal numbers to the LCD or will we get errors? |
Topic: UART Printf problems |
wordizlife
Replies: 1
Views: 5797
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2012 12:06 pm Subject: UART Printf problems |
Problem solved, it was a hardware problem with the jumper connected to the TX pin... -_- |
Topic: UART Printf problems |
wordizlife
Replies: 1
Views: 5797
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2012 10:47 am Subject: UART Printf problems |
Hey guys,
I am currently trying to communicate between two PIC's.
I am successfully receiving data and displaying it on an LCD with PIC16F877A. But transmitting data through its TX pin with the use ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Sat Apr 21, 2012 4:17 pm Subject: ex_sisr sample code problem |
I fixed a few errors that I found in in the code i'm using to transmit data.
void write_buffer(void)
{
char ch_str[20] = "ATZ\r"; // puts character in string ar ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Sat Apr 21, 2012 9:52 am Subject: ex_sisr sample code problem |
That was a stupid mistake... But even if I fix it I am getting no life from the TX pin.
I must be missing something simple here..?
Would I possibly have to set the TRIS to have TX as output and RX a ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Fri Apr 20, 2012 4:16 pm Subject: ex_sisr sample code problem |
Ttelmah that configuration worked like a charm!
I can't thank you guys enough, you guys are great help!
Would anyone be aware if CCS also provides example files to send data through the TX p ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 9:17 pm Subject: ex_sisr sample code problem |
#if defined(__PCM__)
#include <16F877A.h>
#device adc=16
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz fo ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 7:45 pm Subject: ex_sisr sample code problem |
Thanks for mentioning that. I am communicating between two pics. When my main pic receives this ">" (0x3e) it means that the device is in idle state and no more data will be transmitted. ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 5:39 pm Subject: ex_sisr sample code problem |
Ok so I just have to figure out how to write this function so that it stops when all the data has been received.
Question is how am I supposed to know when all the data has been received?
EDIT:
... |
Topic: Push Button Key Matrix |
wordizlife
Replies: 5
Views: 7632
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 5:23 pm Subject: Push Button Key Matrix |
Yes that makes sense. Thanks. So I'm guessing that there is nothing more to it then that?
As long as there is nothing that I should watch out for that could damage my PIC or give me unwanted errors ... |
Topic: ex_sisr sample code problem |
wordizlife
Replies: 17
Views: 22776
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 5:19 pm Subject: ex_sisr sample code problem |
Hey guys,
I am using the CCS ex_sisr example file as a model to receive serial data through my RX port and display it on an LCD.
My code works fine and the data is displayed as expected on the LCD. ... |
Topic: Transistor Switch or Relay? |
wordizlife
Replies: 19
Views: 23831
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 6:00 am Subject: Transistor Switch or Relay? |
Well the MOSFET did the job perfectly. Thanks for the help guys! |
Topic: Push Button Key Matrix |
wordizlife
Replies: 5
Views: 7632
|
Forum: General CCS C Discussion Posted: Wed Apr 18, 2012 6:13 pm Subject: Push Button Key Matrix |
If I am not mistaken that is a key matrix.
Maybe this schematic will be clearer:
http://imageshack.us/photo/my-images/7/screenshot20120418at809.png/
I am only using two poles in this schemat ... |
Topic: Push Button Key Matrix |
wordizlife
Replies: 5
Views: 7632
|
Forum: General CCS C Discussion Posted: Wed Apr 18, 2012 5:46 pm Subject: Push Button Key Matrix |
Hey guys,
I am making a 4 button key matrix for my project. The matrix will be directly connected to 5 pins on the microcontroller. Below is a link to an image of my schematic.
http://imagesha ... |
|