Search found 30 matches
- 25 Apr 2024 17:15
- Forum: mikroC PRO for PIC General
- Topic: easy pic v7 doesnt
- Replies: 2
- Views: 445
Re: easy pic v7 doesnt
I had the same problem and it was pissing me off so i spent a bit of time working out what was wrong. Turns out J2 jumper MCLR pin had a bad connection i fitted a new bridge to it and hasn't missed a beat since
- 27 Jul 2021 17:04
- Forum: mikroC PRO for PIC General
- Topic: DST on DS1307
- Replies: 0
- Views: 554
DST on DS1307
Hi all been trying too work out how to implement daylight savings time on a solar pump controller iam designing and would like to ask if anyone on here can offer advice on what code i need to add to the below program to make it auto adjust time for daylight saving? Basically the system controls a re...
- 16 Feb 2021 14:53
- Forum: mikroC PRO for PIC General
- Topic: if compare
- Replies: 2
- Views: 763
Re: if compare
Thanks Paul your bit of code is a lot more complicated than what i am trying to do. The piece of code i posted works i was just wondering if there was a more compact way of writing it that was all but thank you for your help
- 11 Feb 2021 15:31
- Forum: mikroC PRO for PIC General
- Topic: if compare
- Replies: 2
- Views: 763
if compare
Hi all i want to control a relay to run a pump on solar over summer and am using a Pic16F877A ic with a RTC2 real time clock. I just want to know if this is the simplest or easiest way to write this section of program as it does do the job but im sure there is a simpler way? does one of you guru's h...
- 15 Dec 2020 14:51
- Forum: mikroC PRO for PIC General
- Topic: Solar pump control
- Replies: 1
- Views: 588
Solar pump control
Hi just after some advice i need to run a water pump from say September to April between 8.00am to 5pm on solar and the rest of the time normal power ie i need a relay to turn on during the months and time selected. I have RTC2 running with a 16F877A with 8mhz xtal. My problem is i can't work out ho...
- 02 Nov 2015 06:04
- Forum: mikroC PRO for PIC General
- Topic: driver error
- Replies: 1
- Views: 1017
driver error
Could someone please help i have just updated to 6.6.2 and now my programmer wont work windows 7 64 bit is saying unable to instal driver i have screen shot the exact fault. Thanks in advance
- 25 Jan 2015 07:59
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
Hey Andriod thanks I built my router 3mtr x 1.2 mtr and plasma cutter 1.2mtr x 1.2 mtr myself i use Mach3 software to run them and Bobcad/cam V27 to do the drawing and generate machine code. I also use Estlcam as it is a brilliant little cam package for generating holding tabs etc. With the plasma I...
- 24 Jan 2015 14:52
- Forum: mikroBasic PRO for PIC General
- Topic: Problem with Tabs changing from tabs to spaces
- Replies: 9
- Views: 4988
Re: Problem with Tabs changing from tabs to spaces
I have found that you first have to space bar to the position you want the indent to be then everything you tab after that will be at that point, if you want to change the indent then i have to space bar to where i want again before tabs will work properly. I think what you are all trying to say is ...
- 24 Jan 2015 14:26
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
More pics
- 24 Jan 2015 14:22
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
Ok so here it is modified your code slightly Android and thanks for your help in simplifying my awkward code. The pics are of the finished item I cnc router cut the front panel as it can't be laser cut due to health issues (Chlorine gas), The black on white and red on white signage was cut on my cnc...
- 23 Jan 2015 10:42
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
Thanks will try on easypic v7, I should have mentioned tri state leds are 2 pin only and you simply reverse the direction of portc and d to change color. They are working very well. I do appreciate your advice as as it helps me better understand.
- 23 Jan 2015 02:00
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
Thanks Android Iam using tri colour led's and port d and c to switch between red or green, green is normal run ie float is active as water pump is running. PORTA.RA2 is the dialer trigger and is held active high so that if the Pic-Ready1 board dies in any way the pin goes low and the dialer rings ap...
- 21 Jan 2015 15:08
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
Just for your information I worked out that what I wanted to do could be done in few lines of code and it works perfect. Deleted most of the above code and came up with the following. This program constantly monitors portb and outputs corresponding red led while holding dialer pin ra2 low. It is way...
- 17 Jan 2015 14:42
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
I don't know why but when I compile this code with
== in any of the code it doesn't work ie if(portb.f0==0) I have to use if(portb.f0 >=1) in order for it to work?? anyone know why?
== in any of the code it doesn't work ie if(portb.f0==0) I have to use if(portb.f0 >=1) in order for it to work?? anyone know why?
- 15 Jan 2015 00:54
- Forum: mikroC PRO for PIC General
- Topic: Could some one check?
- Replies: 13
- Views: 5122
Re: Could some one check?
the inputs are all active high and go low when a fault occurs, its not critical once an alarm has been activated that it doesn't do the rest until the alarm has been rectified, as it has to send a signal to a phone dialer as soon as the 5 second delay is up. there is 20 inputs all up which iam sprea...