where to put include files
Can someone tell me where I should put the *.bas files that have to be INCLUDEd to use Microchips FP routines? I've tried 1/2 dozen folders already, none compile because either the file can't be found...
View ArticleMicrocode: How to setup SERIN for 115200 baud rate?
I need to do that with a project. The datasheet confirms my Pic (16F628A) can handle that baud rate, but SERIN locks me with 300, 1200, 2400 and 9600 bits per second. What can I do to make it work with...
View ArticleSorry hope this is ok, not a code question but you smart guys can tell me...
Im looking at getting some other PICs, I've got alot of 18f4550's and 12f629's, but I wanted to know if this is a good deal on a sample pack of chips. If he still has them in 2 weeks I can order 1 of...
View ArticleMelabs U2 programmer needed
I accidentally applied 24V with a current limit of 3A to the pic end of my programmer and now it doesnt work :( Anyone have a used one for sale? Please let me know asap. Thanks.
View ArticlePWM vs. HIGH
Hi Guys, Was wondering if there is any difference between PWM 255 vs. making an output HIGH. The output on an LED appears identical, but wanted to know if there was an advantage to using PWM over a...
View Articlereading ultrasonic receve
I am trying to read the ultrasonic receiver using the pic12f683 I thought about using the pulse out and pulsein command in picbasic pro but how do i change the internal oscillator frequency to drive it...
View ArticleHow critical is type of oscillator for I2C?
I'm building a clock using Numitron tubes for the display. The display hardware works fine - using PBP 3 and a 16F886 I don't however, seem to be able to read any of the registers of the DS1307-based...
View ArticleThe BGA Warehouse LTD is Scotle's USA Distributor
The BGA Warehouse LTD teams are very pleased to introduce Scotle's newest model and the world first machine with built in soldering iron! Now we are carrying new update "SCOTLE IR360 PRO WITH IRONING 3...
View Articlehow to loop thru setting port bits?
I have a variable array, now I need to cycle thru it and set PORTB bits based on values in that array, heres my code Code: FOR CNT = 0 to 7 IF TEMP[CNT] < 100 then PORTB.CNT = 0 IF TEMP[CNT] >=...
View ArticleMoving from Basic Stamp and MIKROE basic to PicBasic PRO
Hello. I'm not entirely sure whenever this is the right place to ask my questions, but I'll give a try. I do some electronics gadget, for which I needed simple automation tasks - say sent defined...
View ArticleOscillator question and measurement
I only had a PIC in a QFN package but wanted to make a protoype with it. What I did was strip a 24 gauge wire and solder each individual strand to each pin. I'm never doing that again but..... It seems...
View ArticleSerout instead of Hserout
I need to blast data out of the PIC. Is there any difference between Serout and Hserout? Using software, does it make the communication slower?
View ArticleHow to Figure Out Compile Errors?
I'm trying to port over code from a 12F683 to a 16F687 from this thread but I get the dreaded 'syntax error' and it highlights the 'CCP1CON = %00001011' line. How do I figure out what's really going...
View Articleserin buffer overflow
hey, Ive been curious about something for a while, but Ive used hser for various projects due to this reason, but sending a long stream of chars to the PIC usually causes it to lock up. I use a 16f628a...
View ArticleSyntax error
I'm using MCS 4.0. I've checked the box "Automatically jump to first error" under the Editor Options. When I create an intentional syntax error the cursor does not jump. It just stays where it was...
View Article