What I want to do is to be able to distinguish between tones emitting from a PC's headphone jack.
Now could I just do ADC on a PIC to read the values coming from the headphone wires (would I...
Type: Posts; User: Forkosh; Keyword(s):
What I want to do is to be able to distinguish between tones emitting from a PC's headphone jack.
Now could I just do ADC on a PIC to read the values coming from the headphone wires (would I...
Hey Guys,
Right now when I want to call the same subroutine 50 times subsequently I do the following code.
Start:
GOSUB GoForward
x=x+1
IF x>49 THEN
GOSUB Stop
ELSE
Thanks skimask! :D
I have PICBASIC pro version 2.47 . version 7?
What about PULSIN and PULSOUT
would their resolution be doubled?
When I change the microcontroller clock from 4mhz to 8 mhz I put the following code in the beginning of the program
DEFINE OSC 8 'Set oscillator speed to 8
Now I also have to change the...
What is the code I can use to modulate IR
I am using an IR LED and IR phototransistor to detect a line
How can I modulate that?
I am using the PIC 16F616 @ 4mhz
Thank You
Nice job ,thanks for posting
EXTREMELY USEFUL
I was looking on this site and and its shows how to control a monitor with a PIC mirocontroller. However, it is in ASM. Anyone know where I can find this in PICBASIC or how I can translate it?
...
Heres my problem :
I can get one of the modified servos to go forward ( a pulse of 100 ) and another one of the modified servos to go backward ( a pulse of 169) , only at the same time.
In...
How much pause should I allow before ( or after) pulsing out a servo command?
How much pause should I allow for an LCD to initialize?
and theoretically, If i were to send a pulse of 160 to servo1...
How can I store a string variable?
Like I want to do somethign like this ( but i dont know the code)
A= "Hello World" 'Store String
SEROUT LCD, 6, [A] ' dispaly contents of string A on LCD
...
Thanks
What are the differences of running the PIC at 8mhz or at 4mhz? NAyadvantages at the 8mhz speed???
I am using the PIC16F616
I modified two HS425BB servos for continuous rotation and I cannot get them to go counterclockwise. Every pulse that I give makes the servo spin clockwise ( but at different...
Nevermind ,
After researching it in google more , i was able to find the SYMBOL command
All is well
How can I do a constant to control my LCD connected to PORTC.3
I tried LCD CON PORTC.3 but it didn't work.
For example
How can I control my LCD by doing something like this
SEROUT LCD,6,...
which PICs work with the ADCIN command? WHich one that you used worked with that command?
It worked!
But how would I change it to read AN0 and AN1
How do I change the program to read multiple channels?
internal osc, mclear disabled. LCD works and blinking LED works. JUST A2D is messed up for soem reason.
What speed of the ADC_Clock do i set it to for my microcontroller. I have it set to 3 now,...
Please i've tried everything!
I want this stupid program to work on my PIC 16F685. I programmed it using PIC BASIC and the U2 EPIC programmer. I configured the oscillator to RCIO with the EPIC...
The micro I use is the PIC16F685
Using the pot command in PIC BASIC I was able to get an 8 bit reading of the resistance of two sensors. When I tried to do this with 3 sensors I was only able to get...