Search found 11 matches

by nots
17 Feb 2011 19:29
Forum: mikroBasic General
Topic: RS485 to Ethernet?
Replies: 0
Views: 1108

RS485 to Ethernet?

Hi,
is it possible to pipe rs485 data to a Ethernet pipe (convert from rs485 -> Ethernet)?

The idea is that im going to use my NAS (don't have any rs232) to get the data from my rs485 network and then store it and process it.

Thanks for any help or ideas.
by nots
01 Apr 2009 12:35
Forum: mikroBasic General
Topic: frequency counter (using timer and CCP)
Replies: 14
Views: 8129

This is what im trying to do also!

But i have only started to learn about the timer and interrupt but if you got this working it would help me greatly in understanding these functions.

I hope you get an answer to this.

Br Nots
by nots
24 Feb 2009 13:41
Forum: mikroBasic General
Topic: combine strings ?
Replies: 2
Views: 1513

Thanks Janni for your answer. To bad that this isn't spported in the compiler. :(

/Nots
by nots
23 Feb 2009 10:29
Forum: mikroBasic General
Topic: combine strings ?
Replies: 2
Views: 1513

combine strings ?

Hi, im trying to compare a string with another string. :D Easier to explain with the code. program usart_read_txt ' * Test configuration ' MCU: P16F877 ' Oscillator: XT, 04.0000 MHz ' * NOTES ' None. ' * dim txt as string [20] dim delim as string[1] dim myDev as string [3] main: Usart_Init(2400) del...
by nots
01 Apr 2008 12:09
Forum: mikroBasic General
Topic: Problem with RTC using DS1307
Replies: 4
Views: 4370

Also need to get the 1307 to work!

Hi, i tried your code Raulhc but i got some strange behavour.
the seconds goes from 0 to 2 then it start's over with 0 and so on.

any ideas ?

im running it on a 16F877A @ 4MHz and using 8-bit mode LCD.

Br Nots
by nots
30 Jan 2008 12:28
Forum: mikroBasic General
Topic: REGARDING ABOUT THE REAL TIME CLOCK PCF8583 AND DS1307
Replies: 7
Views: 3973

Great, Thanks Foz.

It will be much easier i guess now :D

I thought maybe that was how to do it just to call the various variables.

Thanks this lib will make my life much easier.

Br Nots
by nots
29 Jan 2008 13:51
Forum: mikroBasic General
Topic: REGARDING ABOUT THE REAL TIME CLOCK PCF8583 AND DS1307
Replies: 7
Views: 3973

I get compiling error on the "Replace" command

Hi, Foz im trying to use your library but i get a compiling error on the "Replace" command and also on the "TrimLeadingCharacter". Im new to this so i would be glad if you could give me some pointers to what im doing wrong. Do you have som example code how to use the library in the main program? I n...
by nots
06 Jan 2008 15:37
Forum: mikroBasic General
Topic: please help me in the use of lcd
Replies: 10
Views: 4776

Hi, thanks for the help thenobble66 i tried the code you posted and after i had made som power adjustments it worked like a charm :P .

Br Nots
by nots
02 Jan 2008 19:27
Forum: mikroBasic General
Topic: please help me in the use of lcd
Replies: 10
Views: 4776

Hi, i have the same problem and im also running at 4Mhz on a 877a.
yesno: did you find a solution for this?

Br Nots
by nots
10 May 2007 15:14
Forum: mikroBasic General
Topic: MAX 7219 with softSPI
Replies: 10
Views: 5970

Hi, and thanks for the replys.
this is the code im trying to use:

main:
TRISB=%00010000
Soft_Spi_Config(PORTB, 5, 1, 3) '5=SDI, 1=SDO, 3=SCK


'Select Chip
PORTB.2 = 1

'Send Initialization & Data
SOFT_SPI_WRITE($03)
SOFT_SPI_WRITE($02)

'Deselect Chip
PORTB.2 = 0

end.
by nots
09 May 2007 21:28
Forum: mikroBasic General
Topic: MAX 7219 with softSPI
Replies: 10
Views: 5970

MAX 7219 with softSPI

Hi,
im trying to use the max7219 with SPI.
the problem is that im using a 16f84a pic that does'nt have hardware support for SPI. So im going for software :) .

Has someone here done this with a 16f84 ?

Br Nots

Go to advanced search