Search found 32 matches
- 25 Feb 2012 17:19
- Forum: mikroBasic PRO for PIC General
- Topic: DTMF code from mikroc to mikrobasic
- Replies: 1
- Views: 3883
DTMF code from mikroc to mikrobasic
Hi all, in: http://www.libstock.com, I've found a good DTMF encoder/decoder, written in mikroc: particularry I need a decoder, so I downloaded the source in mikroc, and decided to translate into mikrobasic..... not yet tryed, also becouse I've 2 16f628 pic, and the c code is for 12f675, now someone ...
- 12 Aug 2010 13:01
- Forum: mikroBasic PRO for PIC General
- Topic: RGB issue with TMR0
- Replies: 18
- Views: 5366
Re: RGB issue with TMR0
i=i+1 forever???
never will be cleared?
try this way (I don't understand well what lights have to do exactly!)
never will be cleared?
try this way (I don't understand well what lights have to do exactly!)
Code: Select all
while(true)
setRGB(0,255,250,0)
delay_ms(5000)
setRGB(255,100,0,0)
delay_ms(5000)
i=0
wend
end.
- 11 Aug 2010 11:17
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mikrobasic 4.00 error on "clrwdt" and "nop"
- Replies: 1
- Views: 1526
mikrobasic 4.00 error on "clrwdt" and "nop"
I have 2 examples, one works, while the other one not, I only remmed or not a cariable..... this code give error!: program test_structure ' Declarations section sub procedure program_init() dim kj as byte dim lkj as byte 'if you delete the "rem" by 'lkj=0, the nop and clrwdt after give error, else a...
- 11 Aug 2010 09:26
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mikrobasic 4.00 error on "clrwdt"
- Replies: 7
- Views: 3342
Re: mikrobasic 4.00 error on "clrwdt"
..... maybe this is a not interesting bug.....
- 10 Aug 2010 20:13
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mikrobasic 4.00 error on "clrwdt"
- Replies: 7
- Views: 3342
Re: mikrobasic 4.00 error on "clrwdt"
Hi evius; good it; this show exactly what happen when we don't initialize some local var after declare it. The compiler expects that after one declaration one or more declared's var's will be initialized, if don't happen, and the first line bellow is a instruction or another reference that don't is...
- 10 Aug 2010 14:59
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mikrobasic 4.00 error on "clrwdt"
- Replies: 7
- Views: 3342
Re: mikrobasic 4.00 error on "clrwdt"
ok, well..... this code give error!: program test_structure ' Declarations section sub procedure program_init() dim kj as byte dim lkj as byte 'if you delete the "rem" by 'lkj=0, the nop and clrwdt after give error, else all work well..... '''''lkj=0 'theese 3 commands give error, after a dim declar...
- 09 Aug 2010 20:03
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: Structure and Code Assistant.
- Replies: 6
- Views: 2462
Re: Structure and Code Assistant.
1) in code assistant, I can see all system contants and variables but not the ones I created with the structures. EDIT: ok, I can see only after I've saved the module, but only the 1st structure, if I want to see the circlex.center.x, It doesn't appear in code assistant, but only circlex.center and ...
- 09 Aug 2010 16:53
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: Structure and Code Assistant.
- Replies: 6
- Views: 2462
Re: Structure and Code Assistant.
ok, 1st: "circle" is a reserved word (non't know why.....) 2nd: for code assistant, yiu are true, doesn't show the variables into structures ecc... 3rd: see code: program test_structure ' Declarations section structure dot dim x as float dim y as float end structure structure circles dim radius as f...
- 09 Aug 2010 16:14
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mikrobasic 4.00 error on "clrwdt"
- Replies: 7
- Views: 3342
mikrobasic 4.00 error on "clrwdt"
Hi, Mb 4.00 give error on command:
clrwdt
I didn't tryed with:
asm
clrwdt
endasm
but only clrwdt give error!
clrwdt
I didn't tryed with:
asm
clrwdt
endasm
but only clrwdt give error!
- 06 Aug 2010 17:49
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: MB 4.0 beta : Does Auto Save works ?
- Replies: 2
- Views: 1516
Re: MB 4.0 beta : Does Auto Save works ?
autosave doesn't work, and.... if I change by 3 minutes to more or less, apply appear greyed, and I have firset deleselt "enable autosave", change from 3 minutes to 1 for i.e., and then I can change the numeric value, if I skip to deglag and reflag it, if I press ok, whrn reopen the option menu, 3 (...
- 05 Aug 2010 13:44
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mb 4.0 beta, doesn't compile this project!
- Replies: 2
- Views: 3892
Re: mb 4.0 beta, doesn't compile this project!
but if I execute it with "administrator privileges", all works well.....
- 05 Aug 2010 11:17
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: mb 4.0 beta, doesn't compile this project!
- Replies: 2
- Views: 3892
mb 4.0 beta, doesn't compile this project!
Hi all, I tryed the beta4 on my little X10 project, here: with 16f84A at 12.000000Mhz xtal, and in my case doesn't compile the project, Mb beta runs on a windows 7 32 bit (I launch it without Administrator permissions!) program x10_out_test dim House as byte dim Unit as byte dim unitcode as byte dim...
- 05 Aug 2010 11:14
- Forum: mikroBasic PRO for PIC General
- Topic: new beta V4
- Replies: 16
- Views: 4001
Re: new beta V4
yes, sorry., I'll provide!Copy'nPaste wrote:Err, its a BETA version, post in beta forum
- 05 Aug 2010 11:14
- Forum: mikroBasic PRO for PIC Beta Testing
- Topic: MB 4.0 beta : Print preview / Print in color
- Replies: 7
- Views: 3022
Re: MB 4.0 beta : Print preview / Print in color
I guess you are using "Zeder" scheme, and this is the reason why is your background black. For example, if you select Scheme2 then background color will be light-blue (look at screen shot). No, I do not use Zeder scheme but my own scheme with white background. In fact I didn't choose any background...
- 05 Aug 2010 08:10
- Forum: mikroBasic PRO for PIC General
- Topic: new beta V4
- Replies: 16
- Views: 4001
Re: new beta V4
Hi all, I tryed the beta4 on my little X10 project, here: with 16f84A at 12.000000Mhz xtal, program x10_out_test dim House as byte dim Unit as byte dim unitcode as byte dim outpin as sbit at portb.2 dim zeropin as sbit at portb.1 dim oldstate as bit sub procedure SetInput(dim byref port as byte, dim...