Search found 88 matches

by Zilla
12 Jul 2013 13:17
Forum: mikroBasic PRO for PIC General
Topic: USB
Replies: 2
Views: 1290

Re: USB

sovled, CDC descriptor provided with mikroe example is not compatible with proteus usb simulator.
by Zilla
10 Jul 2013 22:16
Forum: mikroBasic PRO for PIC General
Topic: USB
Replies: 2
Views: 1290

Re: USB

I'm trying to simulate Pic18f4550 usb comport example in proteus with no success, any guidelines are appreciated.
by Zilla
10 Jul 2013 13:45
Forum: mikroBasic PRO for PIC General
Topic: USB
Replies: 2
Views: 1290

USB

Hi,

pic18f26j50
I'm looking for a sample project that demonstrates the use of low speed CDC USB.
Also, does anyone have success with proteus usb simulation and mikrobasic?

Thanks.
by Zilla
25 Jun 2013 02:14
Forum: mikroBasic PRO for PIC General
Topic: Flash Write
Replies: 1
Views: 1005

Flash Write

Hello,

Pic18
I have a single byte array 128 bytes long that I need to store it in the flash memory.
What would be the most optimal way to do 2xFlash_write_64 without actually splitting the array in two 64 byte arrays and without creating much overhead.

Thanks.
by Zilla
13 Dec 2012 00:38
Forum: mikroBasic PRO for PIC General
Topic: Buffer UART 16F877A
Replies: 1
Views: 1064

Re: Buffer UART 16F877A

two problems,
1) pics do not support internal buffers with unknown size!!!
2) how do you detect that there is no more data?
by Zilla
30 Nov 2012 00:34
Forum: mikroBasic PRO for PIC General
Topic: Flash memory
Replies: 0
Views: 928

Flash memory

Hi, Pic18F26J50, internal flash memory supports writes in blocks of 64bytes or 2 bytes. The data sheet says that cpu will stall for duration of a write. It's not really clear to me if the amount of stall time is the same for 64bytes and 2 bytes. I need to write data into flash memory half page at ti...
by Zilla
23 Oct 2012 03:18
Forum: mikroBasic PRO for PIC General
Topic: UART on PIC16F690
Replies: 12
Views: 4632

Re: UART on PIC16F690

If you are using easypic board you need to set appropriate switches.

http://www.mikroe.com/downloads/get/171 ... l_v102.pdf
page 7 of the manual, or read the manual of whatever you are using.
by Zilla
23 Nov 2011 11:19
Forum: mikroBasic PRO for PIC General
Topic: PIC16F88 programing problem
Replies: 7
Views: 2314

Re: PIC16F88 programing problem

Hello,

I have the same problem while programming pic16f688. The only way I was able to solve this problem is to use mikrobasic v 3.5
by Zilla
17 Nov 2011 16:41
Forum: mikroBasic PRO for PIC General
Topic: Hex to byte
Replies: 4
Views: 1852

Re: Hex to byte

Hi,

Dim Text as string[4]
Text="FFFF"

convert FF,FF to 2 bytes
by Zilla
14 Nov 2011 15:14
Forum: mikroBasic PRO for PIC General
Topic: Hex to byte
Replies: 4
Views: 1852

Hex to byte

Hello,

I have a string that contains a Hex value, how would I convert it to a byte

thanks.
by Zilla
30 Oct 2011 23:41
Forum: mikroBasic PRO for PIC32 Wish List
Topic: PIC32MX1XX/2XX
Replies: 3
Views: 4388

PIC32MX1XX/2XX

Please add support to the new family of a low pin count pic32.

http://ww1.microchip.com/downloads/en/D ... 61168B.pdf
by Zilla
19 Aug 2011 10:27
Forum: mikroBasic PRO for PIC General
Topic: SPI
Replies: 2
Views: 1333

Re: SPI

Hi,


Please look at this post,
http://www.mikroe.com/forum/viewtopic.php?f=91&t=28293

see if you can get it to work at _SPI_MASTER_OSC_DIV4
by Zilla
05 Jun 2011 15:09
Forum: mikroBasic PRO for PIC General
Topic: STRINGS: how can I divide ?
Replies: 13
Views: 3544

Re: STRINGS: how can I divide ?

Hi,

another way is to use "absolute" and declare your lcd output variable at a specific location in the ram.
after that declare your first/second/etc variables within that memory space.
by Zilla
30 May 2011 10:30
Forum: mikroBasic PRO for PIC General
Topic: Variable as SFR
Replies: 4
Views: 1649

Re: Variable as SFR

maybe

Code: Select all

dim test1 as byte at TrisA
dim test2 as byte at PortA
by Zilla
12 May 2011 22:16
Forum: mikroBasic PRO for PIC General
Topic: Need help about sending data via RS232 to PIC micro
Replies: 2
Views: 1624

Re: Need help about sending data via RS232 to PIC micro

Hello, Perhaps the easiest way is to look into getting FTDI cable. Please note that there are 3.3V and 5V cables. (http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=768-1028-ND) Pic16F877 has hardware Uart, connect the cable to Uart RX->TX,TX->RX,common ground!!! There are examples on...

Go to advanced search