Yes, I specially re-used same nickname on 3 different forums, to make tracking easier.
So far, parallax one being the best one
p.s. I got code compiled and running.
Yes, strangely that happened with mikroe basic, not with picbasic![]()
But still, MIKROE guys are really nature error. IDE is full of bugs. A little example:
I started up IDE. By default, it opens last saved project. Ok, I close it.
Now I started new project, write some code and compile. Everything is OK.
Now I opened some previously saved project, make some changes, compile and want to flash. BUT, the flasher will flash the .hex image from the new project which I started when launching IDE. And to flash the current active program image, I have, EACH TIME, MANUALLY PROVIDE flasher with the correct hex file.
Is not this silly?
Another bug: "clean up project folder" does not works. While it says "files were deleted", actually, no file being deleted. Also GLCD font creator can't save the file. It says it saved, but no file being saved.
Hi, Curious one
Here is not the place to complain about another product you have difficulties with ...
I saw You were on MkB forum @ 10.15 ( French hour ... ), so you were on the right place THERE to complain .
Your posts there show once more you didn't had opened neither the Pic Datasheet nor the IDE Manual or Help file ...
Once more it's no use to complain your IDE doesn't work by itself ... just make the effort to learn your lesson !!!
said gently ... this kind of thread has NO INTEREST for PicBasicPro Forumers ... as the fault is totally yours.
Learn your lessons and you will be allowed to criticize AFTER lesson learned
Alain
Last edited by Acetronics2; - 1st March 2013 at 10:26.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hi,
I didn't have a 16F628A only a non A-version but I don't think the differences matters here (they are covered in Appendix C of the datasheet).
First take a look at the schematic:
With the above setup I wrote a short program, no more no less than:I programmed the PIC and the LED blinked at 2Hz - it really can't get easier than that IMO and it certainly isn't harder than on a BasicStamp. It works because I built the hardware to match the default setup, ie using an external 4MHz x-tal.Code:Main: Toggle PortB.0 Pause 250 Goto Main
Next thing I did was open up the .info file for the device and copied the default configuration from where it says The PBP default configuration for the PIC16F628 is: and pasted that into my program. I then read thru the available options and decided that I want to use the internal oscillator without feeding the clock out and use internal MCLR so I changed my program to:I removed the pullup on MCLR and the x-tal, programmed the PIC and the LED blinked with a frequency of 2Hz - as expected. All I have on the breadboard is a bypass cap, a 16F628, a resistor and a LED.Code:#CONFIG __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _LVP_OFF & _CP_OFF #ENDCONFIG Main: Toggle PortB.0 Pause 250 Goto Main
/Henrik.
Bookmarks