Hi,
Well, now I have been programming in mikrobasic for a while, and I'm getting really good at programming. But I'm just wondering, what is the best compiler?
Basic, C or Pascal?
When I get to advanced programming is it then better to use mC or mP, or can I just use Basic?
Search found 104 matches
- 05 Oct 2008 22:01
- Forum: mikroBasic General
- Topic: What is best?
- Replies: 5
- Views: 2166
- 26 Sep 2008 20:52
- Forum: mikroBasic General
- Topic: eeprom + lcd problem
- Replies: 6
- Views: 2011
- 26 Sep 2008 13:03
- Forum: mikroBasic General
- Topic: eeprom + lcd problem
- Replies: 6
- Views: 2011
program lcdtest dim j, k, l as byte dim i as byte[16] main: anselh = 0 ansel = 0 j = 0 k = 0 Lcd_Config(PORTB,3,2,1,0,PORTB,4,7,5) lcd_cmd(lcd_clear) start: k = 0 i[k] = 65 inc(k) i[k] = 66 k = 0 j = 0 eeprom_write(i[k], j) inc(j) inc(k) eeprom_write(i[k], j) delay_ms(20) k = 0 l = eeprom_read(k) lc...
- 25 Sep 2008 21:54
- Forum: mikroBasic General
- Topic: eeprom + lcd problem
- Replies: 6
- Views: 2011
Well, here's my code now, but it still shows white blocks instead of the letter A and B. program lcdtest dim j, k, l as byte dim i as byte[16] main: anselh = 0 ansel = 0 j = 0 k = 0 Lcd_Config(PORTB,3,2,1,0,PORTB,4,7,5) lcd_cmd(lcd_clear) start: k = 0 i[k] = 65 inc(k) i[k] = 66 k = 0 j = 0 eeprom_wr...
- 24 Sep 2008 22:21
- Forum: mikroBasic General
- Topic: eeprom + lcd problem
- Replies: 6
- Views: 2011
eeprom + lcd problem
Hi there, I have problem with my code. want to save a number(letter) in eeprom, and then show it even after the power is turned off. Here is an example of how I do it: dim i as byte[2] dim j, k, l as byte k = 0 i[k] = 65 inc(k) i[k] = 66 k = 0 j = 0 eeprom_write(i[k], j) inc(j) inc(k) eeprom_write(i...
- 31 Aug 2008 12:36
- Forum: mikroBasic General
- Topic: flash_read
- Replies: 2
- Views: 1111
flash_read
Okay, thanks for your response. Then I have to do it in another way
- 31 Aug 2008 00:24
- Forum: mikroBasic General
- Topic: flash_read
- Replies: 2
- Views: 1111
flash_read
Hi, I have a problem with flash_read Let's make my program short: dim txt as string[16] dim text as string[16] sub procedure savedata flash_write(0x0D00, txt) end sub ______________ everything works fine with this, but here comes the problem: text = flash_read(txt) lcd_out(2,1, text) _______________...
- 30 Aug 2008 22:33
- Forum: mikroBasic General
- Topic: keydata to string (problem solved)
- Replies: 3
- Views: 1665
keydata to string (problem solved)
Yes, you are right, here is how I fixed the problem. Instead of specify "i" as byte, I changed it to char, and then I used the following commands: if(ps2_key_read(keydata, special, down))<>0then 'If key pressed i = keydata if (down <>0) and (special = 0) and (keydata<>0)then i = keydata goto writete...
- 30 Aug 2008 20:19
- Forum: mikroBasic General
- Topic: keydata to string (problem solved)
- Replies: 3
- Views: 1665
keydata to string (problem solved)
Hi there, I'm doing a project with a keyboard. i want it to do when I press a key, to add the letter from the keyboard to a string, and then print it out on the lcd, but I'm a little stuck. Can anyone of you tell me how to add the keydata to string? I have tried to use StrAppendSuf (If it's the corr...
- 17 Jun 2008 22:31
- Forum: mikroBasic General
- Topic: Button Test
- Replies: 7
- Views: 2576
Button Test
Thanks for helping me with it.
I will then have to change the lcd config to another port on the pic16f887, to make this work. So I have to use a breadboard to do that, because easypic5 does only support the lcd on portb.
I will then have to change the lcd config to another port on the pic16f887, to make this work. So I have to use a breadboard to do that, because easypic5 does only support the lcd on portb.
- 16 Jun 2008 14:01
- Forum: mikroBasic General
- Topic: Button Test
- Replies: 7
- Views: 2576
Button Test
Well, I'm using a PIC16F887.
In the data sheets there is written in a schematic, that interrupts can be in portb, and there is INT interrupt (RB0) and then there is another one called IOC. What is that?
In the data sheets there is written in a schematic, that interrupts can be in portb, and there is INT interrupt (RB0) and then there is another one called IOC. What is that?
- 15 Jun 2008 18:28
- Forum: mikroBasic General
- Topic: Button Test
- Replies: 7
- Views: 2576
Button Test
Don't anyone know how to do it??
- 12 Jun 2008 00:55
- Forum: mikroBasic General
- Topic: Button Test
- Replies: 7
- Views: 2576
Button Test
I'm using a EasyPIC5 development board. The program is here, but I haven't wrote how it works. I just need get help with the interrupt program. program CounterLCD dim ch1 as byte dim ch2 as byte dim ch3 as byte dim digit1 as word dim digit2 as word dim digit3 as word dim number as word sub function ...
- 12 Jun 2008 00:26
- Forum: mikroBasic General
- Topic: Button Test
- Replies: 7
- Views: 2576
Button Test
Hi, I have made program where you can set a specific number of seconds on a lcd display and then, when you press another button, it will count down. That I want is when it's counting down I shall be able to press button at RA3 and then It will go to another part of my program, where I have programme...