Search found 67 matches

by chipbreaker
20 Mar 2014 20:23
Forum: mikroBasic PRO for PIC General
Topic: lcd controls not compiling
Replies: 1
Views: 1000

lcd controls not compiling

HI, Ive been away for a while, and starting a new project and wishing to use one of my accumulated LCD displays , I find that the compiler will not accept the LCD_CMD instructions. It just throws up an error on each LCD_CMD statement. I have just updated with the new version 6.01 mikropro basic for ...
by chipbreaker
30 Aug 2010 20:13
Forum: mikroBasic PRO for PIC Beta Testing
Topic: eeprom overwriiten
Replies: 4
Views: 1952

Re: eeprom overwriiten

Hi Man, thank you for your interest in this problem. You are correct about the buttons, but I have tried several settings and have always either an error reported or the eeprom is over written. It would seem that the eeprom protect does not function as when this is set the error window opens.Regards...
by chipbreaker
02 Dec 2009 11:49
Forum: mikroBasic PRO for PIC General
Topic: undeclared ???????
Replies: 11
Views: 4328

now fixed

I have been advised by Mikrelektronica that new updated DEFS have been issued, so this problem is fixed.
Cheers
by chipbreaker
02 Dec 2009 11:33
Forum: mikroBasic PRO for PIC General
Topic: photo cell operated interrupt hopefully helpfull for someone
Replies: 0
Views: 1453

photo cell operated interrupt hopefully helpfull for someone

[listprogram nightlighter '*******************************16F684**************************************** ' This programme was written to turn on a battery powered strobe ' light (LED) circuit ' during dark hours. the battery is solar charged! ' A sleep function is included to reduce battery consumpt...
by chipbreaker
01 Dec 2009 09:21
Forum: mikroBasic PRO for PIC General
Topic: undeclared ???????
Replies: 11
Views: 4328

thank you P.Erasmus.
Just to finalize this theme, I have been informed by the good friends at Mikroelektronica that they will ask their programmers to maybe include the
full length expression in order that it is in agreement with the standard basic
form of declarations.
Greetings Brian
by chipbreaker
29 Nov 2009 01:14
Forum: mikroBasic PRO for PIC General
Topic: undeclared ???????
Replies: 11
Views: 4328

register bit not recognised

Thank you P.Erasmus, a sensible reply. the Pic is 16f684 and the register is the IOCA (Interrupt on change register) the 6 available bits of this register are IOCA0 to IOCA5 and can be addressed as such in Mikro Standard basic. The data sheet page on the PIC16F684 is 33. As I previously mentioned in...
by chipbreaker
28 Nov 2009 22:02
Forum: mikroBasic PRO for PIC General
Topic: undeclared ???????
Replies: 11
Views: 4328

rem statement

Thats a very bright answer, with no relation to my original query. Try reading the Basic manual and you might see that the "old fashioned" REM is also allowed!
by chipbreaker
26 Nov 2009 21:03
Forum: mikroBasic PRO for PIC General
Topic: undeclared ???????
Replies: 11
Views: 4328

the code

well here is the code, but I dont think the code is at fault as it functions without problem with the standard basic version.
[code
sub procedure interrupt
if intcon.raif =1
then intcon.raif =0
ioca.ioca0 =0 rem reset porta.0 change flag
porta=0
end if
end sub
code]
by chipbreaker
25 Nov 2009 13:43
Forum: mikroBasic PRO for PIC General
Topic: undeclared ???????
Replies: 11
Views: 4328

undeclared ???????

Compiling a simple programme wth standard basic the compilation is 100% however when I have all libraries enabled (so as to ensure Im not missing a library routine), I find that the pro basic rejects the line : ioca.ioca0 =0 in the interrupt routine, stating that the ioca0 is not declared, can anyon...
by chipbreaker
17 Nov 2009 17:40
Forum: mikroBasic General
Topic: Pwm will not change dutycycle
Replies: 7
Views: 3204

OK understood Nikola, i have registered a long time ago. thanks again
by chipbreaker
17 Nov 2009 11:34
Forum: mikroBasic General
Topic: Pwm will not change dutycycle
Replies: 7
Views: 3204

Can you please explain what you mean by a support ticket etc.
Thanks
by chipbreaker
10 Nov 2009 20:56
Forum: mikroBasic General
Topic: Pwm will not change dutycycle
Replies: 7
Views: 3204

further comment to this

As I mentioned before, if I use the procedure just to change the duty cycle without using pwm_stop, the procedure acts on the new speed value, no problem. The only time the problem occurs is when I use pwm_stop and then call the procedure.
by chipbreaker
10 Nov 2009 20:52
Forum: mikroBasic General
Topic: Pwm will not change dutycycle
Replies: 7
Views: 3204

[codesub procedure pwmdriveon pwm_init(2000) pwm_start pwm_change_duty(speed) end sub sub procedure pwmdriveoff () rem pwm_stop Changed to pwm speed 254 as pwm stop would not allow reset speed pwm_change_duty(254) rem effectively stop motor end sub[/code] When I called the pwmdriveon proceedure with...
by chipbreaker
08 Nov 2009 23:14
Forum: mikroBasic General
Topic: Pwm will not change dutycycle
Replies: 7
Views: 3204

Pwm will not change dutycycle

Hi, I have been using PWM for a few projects over the last couple of years without problem, but now I have a new bug that I cannot fathom out! This is the first time I have put the PWM setup in a sub procedure as I wanted to use the single Pwm out put through a splitter to control two different moto...
by chipbreaker
14 Mar 2009 12:33
Forum: mikroBasic General
Topic: SINGLE SERVO TESTER WITH 2 BUTTON CONTROL For PIC12/16
Replies: 10
Views: 13275

servo routine

HI all, I found my errors, and for the benefit of others here they are;
1. For the 16F684 the CCPR1L and CCPR1H register is at $13 not $15 as in the example
2. The ports must be digital for the PB to work ie. ANSEL =0

Hope this helps someone else, regards Brian

Go to advanced search