Author |
Message |
Topic: Flex lcd driver and decimal numbers |
flint
Replies: 13
Views: 18141
|
Forum: General CCS C Discussion Posted: Sat May 12, 2012 7:00 pm Subject: Flex lcd driver and decimal numbers |
Thanks guys am already on it, if i get stuck i will holla back.
Best regards. |
Topic: Flex lcd driver and decimal numbers |
flint
Replies: 13
Views: 18141
|
Forum: General CCS C Discussion Posted: Sat May 12, 2012 5:54 am Subject: Flex lcd driver and decimal numbers |
OK. As always, loads of ways, assuming you have your keypad working. Here's a starter for ten:-
Create const character string "PASSWORD".
Create character string array input_buffer
--- ... |
Topic: Flex lcd driver and decimal numbers |
flint
Replies: 13
Views: 18141
|
Forum: General CCS C Discussion Posted: Sat May 12, 2012 3:56 am Subject: Flex lcd driver and decimal numbers |
What can't you do?
(1) Read the keypad.
(2) Handle the keypad data.
(3) Deal with user interaction.
Please be more specific.
Mike
what i want is for a user to enter a password, then the pa ... |
Topic: Flex lcd driver and decimal numbers |
flint
Replies: 13
Views: 18141
|
Forum: General CCS C Discussion Posted: Sat May 12, 2012 2:08 am Subject: using flex lcd |
Hi everyone!
Please how do i request an input that will be displayed on a 16x2 lcd from a user(assuming i already designed they key pad), and then store the input. I am able to send messages to the s ... |
Topic: interrupts again! |
flint
Replies: 10
Views: 10108
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2012 8:16 pm Subject: interrupts again! |
Simplest 'trick' is to create a 15 wide diode OR gate connected to RB0. .
But I still say it's easier to do an external Wire-OR circuit with diodes.
See this Wikipedia article:
http://en.wikipedi ... |
Topic: interrupts again! |
flint
Replies: 10
Views: 10108
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2012 5:45 pm Subject: interrupts again! |
There are some tricks you can do with the
hardware peripherals to emulate an edge triggered interrupt pin, but
I don't know if you want to do that. It would be better, I think, if you
used an ... |
Topic: interrupts again! |
flint
Replies: 10
Views: 10108
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2012 5:15 pm Subject: interrupts again! |
Hi, everyone, I am working on a project that uses interrupts. The program flow is such that MCU sleeps when interrupt is triggered, then by making pin_b0 low, it wakes up. It works fine at this stage, ... |
Topic: problem communicating between PIC18f4455 and PIC18f2550 |
flint
Replies: 10
Views: 11724
|
Forum: General CCS C Discussion Posted: Sat Jan 14, 2012 7:41 pm Subject: problem communicating between PIC18f4455 and PIC18f2550 |
Hi,
Until you've got the basic communications working between your boards, your code is way too complicated! On the transmit side, just send a single character repeatedly with a short delay betwe ... |
Topic: easyBee |
flint
Replies: 5
Views: 6641
|
Forum: General CCS C Discussion Posted: Sat Jan 14, 2012 7:33 pm Subject: easyBee |
the RX return side is at 3v levels - may not reliably toggle the receive side
pins on each pic
you are right, i checked the voltages at the various pins with a multimeter and these are the outcome: ... |
Topic: easyBee |
flint
Replies: 5
Views: 6641
|
Forum: General CCS C Discussion Posted: Fri Jan 13, 2012 7:53 pm Subject: easyBee |
you are most likely tangled up in 3v/5v non level translated misery IMHO
Thanks for your response, please can you explain what you meant by that,this is the connection i used:
easyBee Module has t ... |
Topic: easyBee |
flint
Replies: 5
Views: 6641
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2012 7:55 pm Subject: easyBee |
Hi everyone, I am working on a project that requires wireless communication between two PIC's. I tested a simple program on the PIC's using hardware UART (wired) and its working clock is 20MHz wheneve ... |
Topic: Led blink! |
flint
Replies: 13
Views: 17730
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2012 7:44 pm Subject: Led blink! |
Your main crystal oscillator is not running.
When you select 'HS', the code therefore does not run.
It works with the fuses you post, but at a silly speed, because 'FCMEN', is enabled. This is t ... |
Topic: Led blink! |
flint
Replies: 13
Views: 17730
|
Forum: General CCS C Discussion Posted: Sat Dec 31, 2011 9:34 pm Subject: Led blink! |
This code causes the LED to be on for 500ms then off for 500ms = 1 cycle per second or 1HZ
To try the 20MHZ crystal, change INTRC_IO to HS and connect your
crystal. Make sure to keep the connect ... |
Topic: Led blink! |
flint
Replies: 13
Views: 17730
|
Forum: General CCS C Discussion Posted: Sat Dec 31, 2011 11:58 am Subject: Re: ) |
Try a simpler program. This has been confirmed to work on the
internal oscillator and blinks the LED at 1HZ. Note that I moved the
LED to Pin C1 to avoid other peripherals and keep the program sim ... |
Topic: Led blink! |
flint
Replies: 13
Views: 17730
|
Forum: General CCS C Discussion Posted: Sat Dec 31, 2011 11:08 am Subject: Led blink! |
ahhh.....when you 'built(F10)' the program was the 'build option' set to release or the default of 'debug' ?
how do you mean, please expatiate. i used the "Build All", (F9) option on the '' ... |
|