Yes, i will see, to learn.
Best regards orga
Search found 240 matches
- 25 Jan 2012 00:29
- Forum: mikroBasic PRO for PIC General
- Topic: RS485 multislave data to master
- Replies: 7
- Views: 4542
- 12 Dec 2011 14:56
- Forum: mikroBasic PRO for PIC General
- Topic: Uart Cut if Data is comming - Help need
- Replies: 0
- Views: 995
Uart Cut if Data is comming - Help need
I have a simple question:
I must cut a message from Uart, but it is not a string, i must filter 00 90 10 in Hex.
has anybody a sample for this?
Regards Orga
I must cut a message from Uart, but it is not a string, i must filter 00 90 10 in Hex.
has anybody a sample for this?
Code: Select all
UART1_Read_Text(output, "OK", 10) ' reads text until 'OK' is found
Regards Orga
- 11 Jul 2011 22:04
- Forum: mikroBasic PRO for PIC General
- Topic: 16f84a or 16f628 timer
- Replies: 13
- Views: 4466
Re: 16f84a or 16f628 timer
I show you a sample from MBpro-Compiler Helpfile. You must the timer - parameter write for your Timer and X-Tal Here we use a timerinterupt ~100ms, there complete the Time for Sec, Min and Hr. In this way you must write the code for Blinking LED in sec and for a time in Min. And so on. Look at MBPro...
- 11 Jul 2011 18:49
- Forum: mikroBasic PRO for PIC General
- Topic: 16f84a or 16f628 timer
- Replies: 13
- Views: 4466
Re: 16f84a or 16f628 timer
You can't write for Delay_ms(Parameter)
Parameter must be a number.
But you know the prozessor do nothing in Delay_ms()-routine....
You must use the timer for this.
Best regards,
Orga
Parameter must be a number.
But you know the prozessor do nothing in Delay_ms()-routine....
You must use the timer for this.
Best regards,
Orga
- 01 May 2011 09:52
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Hello Peter,
Sorry, unfortunately something has come up.
I do not know when I try it out.
I'll write about it here.
Best regards
Orga
Sorry, unfortunately something has come up.
I do not know when I try it out.
I'll write about it here.
Best regards
Orga
- 24 Apr 2011 04:44
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
I`m not a C-typ..... in IO_spiCAN() you write : void IO_spiCAN() { Can_Init_Flags = 0; Can_Send_Flags = 0; Can_Rcv_Flags = 0; Can_Send_Flags = _CANSPI_TX_PRIORITY_0 & _CANSPI_TX_STD_FRAME & _CANSPI_TX_NO_RTR_FRAME; Can_Init_Flags = _CANSPI_CONFIG_SAMPLE_THRICE & _CANSPI_CONFIG_PHSEG2_PRG_ON & _CANSP...
- 23 Apr 2011 17:32
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Thank you Peter for this example, i'm a basictyp, but you write this Code very good.
InitCAN2 is right? Not InitCan1?
Best regards
Orga
InitCAN2 is right? Not InitCan1?
Best regards
Orga
- 21 Apr 2011 07:58
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Thank you, Peter!!
You help me a lot, and your REM is very usefull.
I can tried it out at Thuesday or later......
I wich you happy eastern. Best regards
Orga
You help me a lot, and your REM is very usefull.
I can tried it out at Thuesday or later......
I wich you happy eastern. Best regards
Orga
- 19 Apr 2011 07:36
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Thank you Peter!!
- 18 Apr 2011 20:13
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Hi Peter,p.erasmus wrote:orga
I am haveing an telphone converence with the USA tonight ,(for my company )
I will try your code again on my system and report back possibly tomorrow evening !!
regards
Peter
did you tested the CAN-SPI-Board?
Best regards
Orga
- 13 Apr 2011 23:18
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Yes, thank you, Peter, i see this in PDF. Softwareregister the same, i didn't know this. I will buy MCP2510.... to tried this out. Is nobody here in the forum, has tried this CANSPI - Modul? Can say: Yes, it's going life on my board, here are my code, tried this? I connected once the module with a M...
- 13 Apr 2011 12:58
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Thank you Peter!
The Pic-to-MCP-wire is the same from the Help-File (CANSPI) Schema.
In this picture is a MCP2510 as tranceiver, but the MCP2515 is pin and software compatibel?
Or Not?
Perhaps can Mikroeteam help, is that true?
Best regards,
Orga
The Pic-to-MCP-wire is the same from the Help-File (CANSPI) Schema.
In this picture is a MCP2510 as tranceiver, but the MCP2515 is pin and software compatibel?
Or Not?
Perhaps can Mikroeteam help, is that true?
Best regards,
Orga
- 12 Apr 2011 20:59
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Peter, you are right: i measuring PIC-Ports with Soket20, not with 28. And there are not connected..... Thank you for the tip, ì didn't see that in my life....... I will wired this and then tried it out. Best regards, orga Edit: i wired, then i tried out: i have cycle on SDO = RC5 and on CS = RC0 by...
- 12 Apr 2011 18:28
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
No,
i'm on EASYPIC5.....
I have loke at this per multimeter PortC on PIC to MCP2515 it's ok.
Can you write in Main PortC.0=0 ? Is this not in CANSPI - Code ?
Can you test my code please?
Best regards,
Orga
i'm on EASYPIC5.....
I have loke at this per multimeter PortC on PIC to MCP2515 it's ok.
Can you write in Main PortC.0=0 ? Is this not in CANSPI - Code ?
Can you test my code please?
Best regards,
Orga
- 12 Apr 2011 17:47
- Forum: mikroBasic PRO for PIC General
- Topic: Samplecode for 16F873 or PIC18F with CAN-SPI Board
- Replies: 24
- Views: 6798
Re: Samplecode for 16F873 or PIC18F with CAN-SPI Board
Thank you Peter for your time, i tried this out ( with other Tristate and Port-Code), but nothing.... I write some Codeline to test out when µP is "upstairs" Can you tried this code on your system, i use a 16F873 by 8Mhz, please. program Can_Spi_1st '-------------------------------------------------...