That is funny, but not real funny. I just went back and re-searched everything for that! Contacted [email protected] to see if there may be some support now.
Type: Posts; User: cc1984; Keyword(s):
That is funny, but not real funny. I just went back and re-searched everything for that! Contacted [email protected] to see if there may be some support now.
Where is that tidbit information? I don't see that in the manual. Nor did I see it on a search of melabs website or this forum. Hmmm
The folks at mecanique say that the device PIC16F1455 should be supported by PBP3, however, I do not see it included in the document nor in the microcode studio microcontroller drop down list. How...
I don't see where you are setting the UCFG register. You can select low-speed, see the data sheet and search for UCFG.
Well, I dusted off the assembly dust on my brain (6989) (I think) and converted to pbp. The display is still blank and off, but the internal switches work so I think I have it connected correctly. ...
Can anyone tell me if it looks like I am on the right track? This is the first part of the initialization translated from assembly to pbp.
INITOLR:
O_XCS = 0 'set lata.5 to low to select the...
I thought they were cool so I decided to include one in one of my projects......Might be sorry for the choice. I new from the beginning to keep it simple, but I just couldn't resist. So, after I...
Amoque,
Looking at the data sheet it looks like you have your setup right. Might be in the code that you have for reading, converting, etc. LM34 should be easy to check if it is working correctly....
You could set the faster frequency (30K) and then add a divide by 30 circuit on the 2nd hpwm output to get the 1KHz. Think that should work.
Please check out this thread
http://www.picbasic.co.uk/forum/showthread.php?t=16142
Interrupt attempt to solve a serial comm problem. Help Greatly Appreciated!
Reading all the interrupt stuff lately, I am trying to use it to solve a problem I have. I am trying to set up a hardware serial transmission of data from PC to PIC (18F46K22) at 115200 baud. I...
Here's one that I wrote to control a stepper motor. Haven't looked at it a while. The stepper motor drives a synchro transmitter that drives an airspeed indicator. It was written for a 16F636, but...
Are both running at the same oscillator frequency?
Alain,
Thanks you very much for the clear explaination of how the pulsin function works! I will investigate the CCP capture mode method.
Thanks, again.
CC
Thanks Dave,
I will try your recommendations when I get to work tomorrow. Looking at the rise time 9 ns today makes me think that that is probably not the problem. Takes a lot of 9 nsec to add up...
Might anyone be familiar enough with the PULSIN command to know the voltage level a "logic High" starts? Looking at the PIC documentation (18F4520) there are several levels listed for "Input High...
Why not just add a condition that only updates the LCD if the ADC value changes by a certain amount from the last reading. That would reduce the updates and also make it less resposive to small...
So that anyone who may also be having this problem, I am posting the fix (Provided by Mr. Darrel Taylor -- Thanks):
"With older versions of PicBasic Pro, you should not use the CONFIG (no...
I am not exactly sure what you are trying to do, but you shold be able to measure the pulsin high or low pulse width with pulsin. Try using multiple readings (loop) for reading in the high pulse...
I removed the DEFINE OSC so that the software thinks it is running at 4 MHz (default), but it is really running at 32MHz based on the OSCCON and OSCTUNE register settings. I think that it is...
Here's the Code. Can you see what I am doing wrong. I also have the same problem on PIC18F4520 devices.
'****************************************************************
'* Name :...
It's all working, but the code will be somewhat embarassing when I have to explain that I had to trick it into working. The chip is a 18F4515.
Configs:
'NOTE THAT CONFIGS ARE COMMENTED OUT IN...
Yes, I have. I did make a backup copy of the file before I messed with it. Seems strange that others are not having this problem. Maybe the PIC18s are not that popular?
I just removed the...
Ok, I have asked this question before: What is correct method to get a pic18 device set to an oscillator speed other the 4MHz? I have tried moving my configuration settings from the pbp file back...
So far what I have ended up with was 2 transistors, NPN and PNP (3904 & 3906). I tied one line from the pic to control the transistors, two 2.2K resistor going from the control line to the base of...