Hello all
I am working with a Pic 16f628A, and can program it ( albeit I am primitive). I have a problem now where I am using the development board and writing a simple "Blink" program to flash an...
Type: Posts; User: Stargazer3141; Keyword(s):
Hello all
I am working with a Pic 16f628A, and can program it ( albeit I am primitive). I have a problem now where I am using the development board and writing a simple "Blink" program to flash an...
I am delighted to report success! Well, sort of. Richard - you started me thinking about a possible hardware issue so I started snooping around with my meter. On the LCD pins, I was seeing some very...
Not using the serial LCD
I do realize there are two sockets - i am using socket B, and I can flash an LED so I think it is set up correctly
i set my pins to digital using cmcon=7 , but I think that only sets Port A to digital. By default, is port B digital? Do I need a command to do that?
I will try your code again tonight - thank you...
Could the fuse settings be an issue? What software do you use to program your Easypic7? I could not get microcode studio to work with it - it does not seem to be able to find the board.
My connections are just like you printed
Sorry abt the second thread - just getting frustrated!
I did try your code but did not work - I know your code must be solid so maybe it is a fuse setting or a hardware issue?
I am using PBP...
Yes I can flash an LED - no issues with programming or compiling this code - just does not work for me.
oops - correcting a typo and an omission - this is the code that I am trying
TRISB=0
CMCON = 7
DEFINE LCD_DREG PORTB
DEFINE LCD_DBIT 0
DEFINE LCD_RSREG PORTB
DEFINE LCD_RSBIT 4
DEFINE...
my code looks like this:
CMCON = 7
DEFINE LCD_DREG PORTB
DEFINE LED_DBIT 0
DEFINE LCD_RSREG PORTB
DEFINE LCD_RSBIT 4
DEFINE LCD_EREG PORTB
DEFINE LCD_EBIT 5
DEFINE LCD_BITS 4
It appears that the LCD is connected to Port B. I think by default the PIC 16F628A uses Port A. I just do not know how to tell the PIC to use Port B. What PIC are you using with Easypic 7? I was...
Does anyone have any experience with this development system using PBP? I am a newbie, and I am trying to use a Pic16F628A to write to the on board LCD screen. It appears to be connected to port B -...
Thanks for your help but I think my issue is that the compiler does not automatically compile the code that is open in the window - mine seems to be searching in the c:\windows folder for the code. ...
I am trying to use Microcode Studio with Picbasic pro - I cant for the life of me figure out how to work the folders that contain my source code and the compiled hex file. I can store my *.pbp file...
I need to write a program ( using PICBASIC PRO) and in this program I need to read the state of a pin ( either high or low) , store it, wait about five minutes, read the state of the pin again, and...
Thanks!
I am just trying to troubleshoot my compiler - picbasic ver1.41.
I noted from the ME labs website that the PEEK and POKE were added on version 1.20, so they should be working on my version....
I am using picbasic from MElabs and cannot get this code to compile:
Symbol TRISB = 134
Symbol PortB = 6
poke Trisb , 0
loop:
For B0=0 to 255
poke PortB , B0
Pause 250
Next...