A/D, and compiler issues.
Hi, Ever since I have been using PBP I have had the same problem. If using MPASMWIN the A/D converter module does not work, and just reads zero. In the past this was not a problem as I had the option...
View ArticleA/D compiler issues
Hi, Ever since I have been using PBP I have had the same problem. If using MPASMWIN the A/D converter module does not work, and just reads zero. In the past this was not a problem as I had the option...
View Articleexternal clock input to RC0/T1CKI on pic18f252 troubles
hi all been having some ups and down with a frequency counter. i had it working taking an audio signal through a NPN pre-amp and then to a 741 config as a comparator. the op amp was powered by +/-4.5v...
View ArticleExtending the Program Memory
Hi Guys , I was looking for links on how to expand the program memory of 18F PIC , while still using PBP3 as the compiler i suspect ill have to also sub divide the code so that it would be able to work...
View Articleneed help!!! >> 2 channel SPWM variable duty cycle.
I modified SPWM software and add a more SPWMpin but I need a variable duty cycle. (see the photo) Attachment 7281 Code: define OSC 10 SPWMpin var PORTC.2 SPWMpin1 var PORTC.3 Include "SSPWM.INC"...
View ArticleKey fifo
Hi guys , i having some trouble getting my head arround doing a fifo for keys , what i need is FIFO which goes upto 5 deep , so as progressively 5 keys are pressed , the array builds down , and the...
View Articlesine wave inverter (modified tahmid mikro C 16f877 to 16f72) problem in:...
feedback not working!!!!! proteus & main mikro C file : Attachment 7288 Code: DEFINE OSE 16 ON INTERRUPT GOTO ISR '*************************VARIABLES tblpointernew VAR WORD tblpointerold VAR WORD...
View Articleparameters on which PIC is selected
Hello i'am doing project on multilevel inverter using 8 switches to b gated according to switches sequence.m unable to select pIC controller as i have 4 PWM signals to b generated.there are 4 switches...
View ArticleSERIN & SEROUT to combine subroutine switch (SW1) and LED to use in Serial
In Summary: Need PBP3 code @ advice to combine the subroutine, future will combine with VB6/VB.net Ill share the result when completed successful soon Hint: PBP3, Proteus, Eltima Virtual Serial,...
View ArticleHow to?????? >> square wave inverter. Feedback option needed
Hi, I design a Full bride Inverter. But I want to add feedback option to my project. I got 50Hz freq from my full bridge. plz anyone help me!!!!!!!!!! How I add feedback to my project?????? Code:...
View ArticleOperator problem
Hi ; I'm having an interesting problem with the following programme block .. Just to note that , The program works as written and compiled with it's current form below . I'm getting RB0 interrupts on...
View Articleproblems with 16F887: config or hardware
Attachment 7295 Here's the schematic. I'm using 5 switches to toggle 8 different LEDs on and off. The problem I'm having is that if I have 7 of the LEDs (any combination) on, the 8th LED resets...
View ArticleSerial problem between BasicStamp code and PBP code
I wrote a program for a BasicStamp2p and it works perfect. I then copied the code to PBP and made the necessary changes. When I take the two serial lines from the Stamp and connect them to the...
View ArticleProgram crash - how to trace the cause
Hello all , I am working on program that on occasions is crashing and resetting the chip , can someone advise the methods to try and find out what may be causing the reset . The code is getting big ,...
View ArticlePICs not on the list
Just ordered some recent MicroChip offerings; PIC16F1704, 1708, and 1713 because of the Zero-Cross Detector (ZCD) feature. I then decided to check to see if these parts are serviced. I guess you...
View ArticleDarryl's MIBAM code: won't compile for me!
Hi, I'm trying to compile Darryl's 'Cylon' scanner demo using his Bit-angle Modulation module, under PBP3 and MPASM, which I believe is the default. Reference:...
View Articlehelp clean up some code
hi guys , this code is rubbish but it looks like it is what i need to do , looking for better ways of writing it cheers Sheldon Code: if counter= 1 then if value0 <> newdata then...
View ArticleChanging CONFIG @ runtime possible ???
Hi, the team, I wonder if it is possible to modify the CONFIG seetings @ runtime ??? as an example, let's say changing the PWM output for a CCPM module that has two possible output ports ( 16F88 i.e. )...
View ArticlePicBasic Pro PIC18LF45J10 Hserin2 problem
Hello all I am having problems reading a configurable serial port of a PIC 18LF. I am able to send data but unable to make sense of any of the data received. I have attached the cut down code I have...
View ArticleControl of servo motor wireless
I'm unable to control a servo wireless someone can help me need to control 2 motor and a servo motor. THANK YOU:) A VAR BYTE B VAR BYTE C VAR BYTE D VAR BYTE E VAR BYTE X VAR BYTE PAUSE 900 lcdout...
View Article