Common cathode is common negative or ground so by assigning it 0's your making it negative so switching it on
EDIT: assigning the cathode itself negative :) which is connected to portb, by...
Type: Posts; User: ross246; Keyword(s):
Common cathode is common negative or ground so by assigning it 0's your making it negative so switching it on
EDIT: assigning the cathode itself negative :) which is connected to portb, by...
By switching off you mean assigning it %00000000 or in my case %11111111 since it is a common cathode display?
I tried that out and still nothing, I also tried adding a small pause between...
Hi guys,
I'm currently creating a project to learn with and it's all working except for one small thing. It uses 3 7-segment displays to basically create a counter that increases on an interrupt...
Ok figured out the EEPROM thing kind of - works fine when working with a single digit :) Just need to know how I can store a string of numbers and then return it on demand. Code so far:
Include...
Hi everyone,
I have a PIC12F683 which communicates via serin/serout and I want it to be able to store an 8 digit number into eeprom. I have searched and searched and I can't find any basic...
Awesome thanks so much for your help. Just got to search through the manual now. 10k sticks in my head for some reason but I will check.
Thanks again.
Ah thanks for pointing that out. I was using a max232 with 'n' and not 't' :P
Working code:
Include "modedefs.bas"
OSCCON = %01100000 'set for 4mhz internal
CMCON0 = 7 ...
Ah I see. I don't know much hehe I tried to put some code together just to test but it seems not to work. Could this be close?
Include "modedefs.bas"
OSCCON = %01100000 ' Internal 4MHz osc...
Hi Guys,
A while ago I got code working for my 16F690 that allowed me to communicate back and forth with my PC Serial Port. I Picked up some 12F683's however I am struggling to convert the code...
I neatened up my code and it solved the problem :) why exactly it solved the problem I am not sure, but im glad it did ;)
TRISC = %00000000
TRISB = %00000000
ADCON1=%00000111...
Yea I had it at 500ms just to see if I could get each digit to display in sequence (which doesn't work). I have resistors in series with each segment but I will be honest I dont know what you mean by...
So I have the theory correct :) the strange thing is when i set B.4 and B.5 to high and B.6 to low, it displays on the 3rd segment with correct brightness. But when I try set B.4 or B.5 low and the...
It worked perfectly :) thank you for explaining. I wanted to ask another question I thought I would just keep it in this thread since its small.
I am thinking of ways to hook up a 3 digit seven...
OK the hair is pulled :p
From all my reading I *think* what I need to do is add
ANSEL=%00000000
ADCON1=%00000111
Will be giving it a try when I get home, I appreciate the type of reply it...
Hi again everyone, I've been trying to interface my PIC16F690 with a DS1621 Digital Thermometer. I haven't been able to find many resources and the code I have found within the forum I could not get...
Working perfectly now on a new lcd, not sure whether it was removing the HIGH Portb.6 or the new lcd :) thanks anyways though. I really appreciate it.
I was just about to post saying I solved it (typical i work it out once I post this) I changed it to DEFINE LCD_DBIT 0 and its sorted it out however it works for the first few seconds (about 3) then...
Hi again, I'm trying to do a simple "hello world" between my pic16f690 and a 2 line lcd screen based on the hd44780. I have connected it as follows:
LCD -----> PIC
4(RS) --- 12(RB5)
6(E) ---...
Thanks so much, worked a treat :)
Hi everyone im new to this hobby and these forums :)
Im having trouble communicating between my serial port and a pic16f690 using a max232. I have searched all over the web but for some reason I...