Search found 156 matches

by Tuxmezoo
18 Jan 2018 11:20
Forum: mikroBasic PRO for PIC General
Topic: Saving IP address to Pic memory
Replies: 3
Views: 1323

Re: Saving IP address to Pic memory

Well the Steps before that to save the date is working. The reading back of the date is also working. It's only the steps after that that does not work. Especially the IP address. In the date time setting all works well. I think I might have for the issue. The IP gets send as a string. On the comm'...
by Tuxmezoo
13 Dec 2017 14:19
Forum: mikroBasic PRO for PIC General
Topic: Saving IP address to Pic memory
Replies: 3
Views: 1323

Re: Saving IP address to Pic memory

Well the Steps before that to save the date is working. The reading back of the date is also working. It's only the steps after that that does not work. Especially the IP address.
by Tuxmezoo
01 Dec 2017 09:18
Forum: mikroBasic PRO for PIC General
Topic: Saving IP address to Pic memory
Replies: 3
Views: 1323

Saving IP address to Pic memory

Hi there I have tried saving an IP address to pic but it does not seem to save the correct Bytes. I use a wifi plus click board on a PIC18f4550. The coms work fine and from the PC I sometimes update the date on the board. That works fine. I now want to send an IP address from the PC and the PIC shou...
by Tuxmezoo
17 Feb 2017 21:17
Forum: mikroBasic PRO for PIC General
Topic: Easypic 6 and Pic18F46K20
Replies: 7
Views: 3054

Re: Easypic 6 and Pic18F46K20

Mmmmm. So that gives me no options. I have a buddy that has a Pickit3. Hopefully if I get it programmed that way, I can still plug it into my Easypic6 board to use the on board options for hardware interfacing. Hopefully it's only a programming issue and that the rest will work with the chip. Thanks...
by Tuxmezoo
17 Feb 2017 17:32
Forum: mikroBasic PRO for PIC General
Topic: Easypic 6 and Pic18F46K20
Replies: 7
Views: 3054

Re: Easypic 6 and Pic18F46K20

Ok. I'm running Easypic 6. So what you guys are saying that I'm totally screwed with the Board. Damn, i'll have to save up a long time to get a Easypic V7. So there is no way I can add or change to have newer pic's like the J's and K's programmed. ****.
by Tuxmezoo
17 Feb 2017 09:51
Forum: mikroBasic PRO for PIC General
Topic: Easypic 6 and Pic18F46K20
Replies: 7
Views: 3054

Easypic 6 and Pic18F46K20

Hi There MikroE andmin. I have a huge problem. I bought my Easypic6 some 5 years ago. Now normally when I buy Pic's I look at the spec to see that it's Voltage is correct (5V) and that it can work. So I bought some Pic18F4550's and The other day I Bought 7 Pic18F46K20 based on the specs. Then when I...
by Tuxmezoo
02 Feb 2017 13:07
Forum: PIC PRO Compilers
Topic: OSA port to Mikrobasic
Replies: 2
Views: 4364

Re: OSA port to Mikrobasic

I'll give him a buz thanks...
by Tuxmezoo
02 Feb 2017 08:58
Forum: PIC PRO Compilers
Topic: OSA port to Mikrobasic
Replies: 2
Views: 4364

OSA port to Mikrobasic

Hi there Is there any OSA ported to Mikrobasic like OSA for mikroC? I'm using the maximum resources of a PIc18F4550 and it lacks some timing issues. The only way that can resolve it is by using OSA. I came across a port that was done in MikroC and I loaded the MCL file into my Basic IDE. Not sure if...
by Tuxmezoo
06 Dec 2016 12:37
Forum: mikroBasic PRO for PIC General
Topic: Pic Timer interrupt slicing
Replies: 6
Views: 2904

Re: Pic Timer interrupt slicing

Thanks Dani Makes sense when the timer is not reset. Although I decided not to go that route. I have read up some RTOS sections and saw what was done. FreeRTOS, CRTOS, OSA and although different they come close to the idea. My aim was because I'm using a PIC18f4550 with a clock of 20Mhz PPLed to 48M...
by Tuxmezoo
06 Dec 2016 12:22
Forum: mikroBasic PRO for PIC General
Topic: Calculating interrupt times from timer
Replies: 6
Views: 2955

Re: Calculating interrupt times from timer

Thanks Again Janni. This makes sense as I thought in that direction but was not sure if it would work though. The way I had it listed above didn't look it was working as either the signal coming in was missed due to the timer miscounting or the way the logic I had was to complex. The way you had cod...
by Tuxmezoo
02 Dec 2016 07:17
Forum: mikroBasic PRO for PIC General
Topic: Calculating interrupt times from timer
Replies: 6
Views: 2955

Re: Calculating interrupt times from timer

Does anybody know a way to do this from the code above.?
by Tuxmezoo
30 Nov 2016 21:27
Forum: mikroBasic PRO for PIC General
Topic: Calculating interrupt times from timer
Replies: 6
Views: 2955

Re: Calculating interrupt times from timer

The chip is powered by 20Mhz clock stepped up to 96 and divided to 48. The timer is supplied by Fosc/4 at 12Mhz thus giving me a supply to the timer at 83Ns or 12000Hz. The timer is free running and I reset it on first interrupt. But because I need it to clock at 1us I need to divide by 12 to get it...
by Tuxmezoo
29 Nov 2016 21:24
Forum: mikroBasic PRO for PIC General
Topic: Calculating interrupt times from timer
Replies: 6
Views: 2955

Re: Calculating interrupt times from timer

sub procedure Interrupt() if intcon3.int1if = 1 then 'NS int triggered if TimerOn = 0 then T1CON.TMR1ON = 0 TMR1L = 0 TMR1H = 0 T1CON.TMR1ON = 1 LO(NS_Start) = 0 HI(NS_Start) = 0 TimerOn = 1 NS_count = 1 TimerLoop = 1 else if NS_count < 2 then if NS_count = 1 then LO(NS_End) = TMR1L HI(NS_End) = TM...
by Tuxmezoo
29 Nov 2016 13:01
Forum: mikroBasic PRO for PIC General
Topic: Calculating interrupt times from timer
Replies: 6
Views: 2955

Calculating interrupt times from timer

Hi It's me again. I have a PIC18f4550 running at 20Mhz. (The timer 1 time is 83Ns) whereby I apply a signal to INT1 and INT2. The frequency are the same but they are out of phase. In my interrupt routine I have a Timer 1 running freely. What I need to do is the following. All is going to plan as thi...
by Tuxmezoo
24 Nov 2016 09:37
Forum: mikroBasic PRO for PIC General
Topic: Calculate Phase shifting based on time.
Replies: 0
Views: 13021

Calculate Phase shifting based on time.

Hi Everyone I have a problem. I'm using Microbasic for a pic. I have a loop antenna and a reference antenna. Thus 3 signals of the same frequency. I measure the time of all 3 signals. The 2 of the loop is in conjunction to the reference. All is measured in time. What I want to know is what is the fo...

Go to advanced search