#include <16F628A.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) #FUSES NOPUT //No Power Up Timer...
Type: Posts; User: serkanc; Keyword(s):
#include <16F628A.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) #FUSES NOPUT //No Power Up Timer...
Thanks for help.. I tried to write codes with CCS C, it's very simple.. Asm codes are difficult for me.. So it works without any problem. If someone needs I can paste the codes..
I want to use this for my wind turbine...
I tried also with the command count
Count PortB.0,1000,Value, and it gives the correct value
I see, but Crystal has no effect on Simulation. I wired it now correctly, but it gives again different values.
how to use ASM interrupts in PBP ?
I don't understand what you mean? Should I remove crystal on ISIS?
I tried to make a tachometer using RB0 and Timer1 interrupt. I simulated on ISIS with a Pulse generator... I choose 200mS from pulse generator, but on LCD it shows always different values. I cannot...
Can you tell me or give me the code, how can I add TMR0 interrupt to my project ?
But I understood after your explenation what this lines mean :)
DEFINE RESET_ORG 800h
DEFINE INTERRUPT_ORG 808h ...
I'm using 18f2550, PBP and Visual Basic Express 2008 without any problem... With the usage of bootloader you can also programm your pic in a few seconds on your circuit over USB...
Thanks for your interest.
http://www.youtube.com/watch?v=F1QApgYX9BI
This is what I have done.. So I want to make serial connection
Now i reduced my code.. Now it's working... but if I use...
I wil check again everything i done.. Possibble i made a mistakeee
Thanks for help.. But I only use c18 for bootload hex. I'm using PBP with microcode studio for my software...
I didn't change lines.. PDFSUSB works fine.. I'm using 20 MHZ Crystal with 15pf...
I have programmed my 18f2550 bootload.hex which I have compiled with c18. I can send hex files with PDFSUSB. I'm using microcode studio.. I have no problems with any code except OSC settings... I...