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.
How do I set I the configuration which pin of the pic is input and which pin is output.I do understand that setting a pin to 0 makes it output and 1 makes it Input. But I still dont get it
set_tris_a( 0b11111001 );
what does the above code mean?
can someone please explain with reference to...
How do I use the MCLR as reset. Connecting a resistor of 10k from the pin and than shorting MCLR pin to ground does not do anything
- - - Updated - - -
Had to define as int16, only unsigned int didn't help
- - - Updated - - -
Had to define as int16, only unsigned int didn't help
I am using CCS C compiler so while compiling the code now I do not get errors, thanks to user FvM
Is it possible to read the value of the variable "step" in debugging mode similar to print in vb?
- - - Updated - - -
what is the range of read_adc(); is it 0 to 255? can we set the range...
PWM out
Thanks user FvM.I was using Hi-Tech C compiler.I have modified the code and require help
1. Can I increase the value range of "step" to 1000 instead of 255
2. What is the code for NOP in C
3. How do I add pwm( Change the width) to the output sensing voltage at analog input pin(pot...
I keep getting errors in MPLAB v8.63 for the code of blinking an led wit PIC12F675. I cannot use the
#use delay
what is wrong with the code please guide
//#include <12F675.h>
#include <htc.h>
#device ADC=10
#fuses INTRC_IO,NOWDT,NOPUT,NOPROTECT,NOCPD,NOMCLR
#use delay(clock=4000000)
#define GP0...
I need help in editing/merging the code for PIC12F675.I have two codes
1. Ultrasonic driver for anti fouling of boats
2. MOSFET Heater fan speed Control
The second one is a PWM controller
The first generates a burst tone swept between 19.08kHz to 41.66kHz with a pause.
How do I lower the range...
I am using mosfets in parallel just to increase power handling capacity and to avoid the power handling capacity reduction due to rise in temperature . Can you please provide some modern mosfets numbers
- - - Updated - - -
Sorry for the inconvenience in reading the schematic.
In figure 2 & 3 which configuration would have higher power handling capacity?
If 3 ampere is the circuit current consumption will only 1.5A flow from high side and low side mosfet individually . Can I parallel in the H bridge configuration. Which configuration is better and why?
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.