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.
Hi all,
I am trying to control 5 servos using 5 flex sensors. I have succesffuly controlled one servo using 1 flex now when i try to control two m finding it very difficult. can any one suggest any ideas as to why im getting this problem. code runs fine without any errors and the sensors work...
Hi all,
I am trying to control 5 servos using 5 flex sensors. I have succesffuly controlled one servo using 1 flex now when i try to control two m finding it very difficult. can any one suggest any ideas as to why im getting this problem. code runs fine without any errors and the sensors work...
void main() {
TRISA.F0=1;
TRISC=0;
PORTC=0;
while (1){
if (PORTA.F0 == 1){
PORTC=1;
delay_ms(1000);
PORTC=0;
}
}
}
the above is a simple code to make all leds in portc to turn on when ra0 is pressed, unfortonately...
for the past 2 week iv just started my first ever project to make a c program on the software called mikroc where i would get pulses in from the flow meter and calculate the flow rate of how much litres flows every hour which then outputs to the lcd, however, after using a timer of 100ms and an...
IS THIS BETTER?
char array[17];
void main() {
ADCON1 = 6; // Changes PORTA to digital
CMCON = 7; // Disable analog comparators
PORTA = 0; // Reset port A
TRISA = 0xFF; // All portA pins are configured as inputs
TRISB = 0; // All port B pins are configured as outputs
PORTB = 0x0; // Reset port...
Awesome, never knew that!! i changed it and now im getting values but there are lots of zeros...:bang:
link to image : https://obrazki.elektroda.pl/4171348600_1422625419.jpg
is this better? :D
void main() {
volatile unsigned int value;
char str [20];
double calc...
hello,
for the past week iv just started my first ever project to make a c program on the software called mikroc where i would get pulses in from the flow meter and calculate the flow rate of how much milliters flows every second which then outputs to the lcd, however, when i connected it to...
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.