Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I cant run micro before disconnecting the programmer (it may be lower MCLR pin)
This part are from already running program ???!!! :cry:
I will try tomorrow get it in interrupt subroutine then use flags
That make pin 0 & 1 are I/P for DN & UP switches and pin 2 O/P for the LED
and
To make pin 3 I/P for OK switch
Micro pin is pulled down with resistor and switch get 5V to the pin
thank you for your interest :)
AC OR DC CURRENT?
AC: means that you can use current transformer (and it is cheap and simple)
DC: means that you must use Hall effect sensor or shunt resistor (resistor is preferred if your system is not isolated)
Thank you for replay
still not working :(
- - - Updated - - -
i tried but still not working
- - - Updated - - -
?????????????
- - - Updated - - -
I am confused because it very simple and i created many programs using this function
Hi all,
My project is very simple that is keypad UP,DN & OK, LED
When i press ok LED is ON and OFF if i pressed UP or DN
UP----> porte.f1
DN----> porte.f0
OK----> portc.f3
LED---> porte.f2
and this is the code
void main()
{
TRISE = 0X03;
PORTE.F2 = 0;
TRISC.F3 = 1;
while(1)
{...
I noticed that when i press reset button for long time i can see the cursor and it change position also!!!!!!!!!!!!
- - - Updated - - -
mikroC v8.2.0.0
I cant because it very long and in many files (and of course secret)
but i want order in mikroC to appear cursor
- - - Updated - - -
Order means commands as Lcd_Custom_Cmd(LCD_BLINK_CURSOR_ON);
I am making interface by LCD 4x20 with pic18f458.
First problem i cant see cursor when i send all orders after sending order by order (after be bored i sent all possible orders in mikroC)??
second i cant see orders to control cursor??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.