Author |
Message |
Topic: why wont this speed up and then slow down correctly?? |
buckeyes1997
Replies: 6
Views: 8232
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2005 7:05 am Subject: thanks mark |
here is what im trying to do. i have three outputs that i want to switch on and off in sequence to make an animation on a graduation cap. it works fine at a constant speed, but since it looks like a ... |
Topic: why wont this speed up and then slow down correctly?? |
buckeyes1997
Replies: 6
Views: 8232
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2005 5:56 am Subject: not sure i follow |
even though i declared the variable as an int16, you are saying i cannot call that variable in the time parameter??
i know i can put values of over 255 in the delay_ms() function so how would i d ... |
Topic: why wont this speed up and then slow down correctly?? |
buckeyes1997
Replies: 6
Views: 8232
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 9:00 pm Subject: why wont this speed up and then slow down correctly?? |
Here is my code. im trying to make an LED pattern light up with the delay between the three LED's speeding up then slowing down. I want the time to go from 700ms between down to 250ms and then from ... |
Topic: PIC affected by human hands?? |
buckeyes1997
Replies: 5
Views: 8667
|
Forum: General CCS C Discussion Posted: Sun Jul 03, 2005 7:52 pm Subject: thanks guys |
hey everyone thanks for helping.
im not sure what i should be grounding other than the PIC. i dont have a cap across the rails, but the input is 5v digital so should be fairly clean. the pins tha ... |
Topic: PIC affected by human hands?? |
buckeyes1997
Replies: 5
Views: 8667
|
Forum: General CCS C Discussion Posted: Sun Jul 03, 2005 4:07 pm Subject: PIC affected by human hands?? |
Hello
i have a project that works fine and does what its supposed to do, but it seems that whenever i pass my hand near the PIC it turns off. I know that PIC pins that are left floating will go high ... |
Topic: play songs on a peizo buzzer? |
buckeyes1997
Replies: 17
Views: 35931
|
Forum: General CCS C Discussion Posted: Wed Jun 01, 2005 2:08 pm Subject: simple test without a 555 ? |
i think you guys are correct. the "buzzer' im using seems to turn on and off and not vary frequency at all. im guessing it has a built in drive circuit which controls the frequency and im simply tur ... |
Topic: play songs on a peizo buzzer? |
buckeyes1997
Replies: 17
Views: 35931
|
Forum: General CCS C Discussion Posted: Sun May 29, 2005 7:52 am Subject: play songs on a peizo buzzer? |
how can i play a song on a peizo buzzer? when i apply voltage it generates a pitch i dont think a lower voltage changes the pitch but even if it does i dont think thats a feasible method. im guessi ... |
Topic: IS there a clever way to handle this task??? |
buckeyes1997
Replies: 14
Views: 17658
|
Forum: General CCS C Discussion Posted: Sat May 28, 2005 6:01 am Subject: thanks everyone |
thanks again you were dead on with the input() rather than bit_test() i have fixed that and now have my program running. however i have it driving a peizo buzzer that simply turns on or off. its th ... |
Topic: IS there a clever way to handle this task??? |
buckeyes1997
Replies: 14
Views: 17658
|
Forum: General CCS C Discussion Posted: Fri May 20, 2005 7:45 pm Subject: IS there a clever way to handle this task??? |
BIT_TEST(PIN_B3)
DOESNT WORK IT GIVES AN ERROR ABOUT MISSING COMMA AND WHEN I PUT AVALUE OF 0 FOR BIT ZERO ITGIVES AN ERROR.
sorry about the caps lock |
Topic: IS there a clever way to handle this task??? |
buckeyes1997
Replies: 14
Views: 17658
|
Forum: General CCS C Discussion Posted: Tue May 17, 2005 4:32 pm Subject: good questions |
what id like to happen is for the light to stay on until the pulse is received again. in otherwords the light is off when good pulses are coming in, but lite when the pulses stop, and it remains lite ... |
Topic: how do you make a state machine using a PIC? |
buckeyes1997
Replies: 2
Views: 6250
|
Forum: General CCS C Discussion Posted: Mon May 16, 2005 7:36 pm Subject: awesome |
awesome thanks
anyone else have a template or anything to add? have you used the code provided.
matt |
Topic: IS there a clever way to handle this task??? |
buckeyes1997
Replies: 14
Views: 17658
|
Forum: General CCS C Discussion Posted: Mon May 16, 2005 7:32 pm Subject: great advice guys |
hey this is very good.
i am actually replacing an older design which used a cmos timer, which once the code is written will simplify the design.
the pulse comes every 10ms or so and lasts 1ms du ... |
Topic: how do you make a state machine using a PIC? |
buckeyes1997
Replies: 2
Views: 6250
|
Forum: General CCS C Discussion Posted: Fri May 13, 2005 11:53 am Subject: how do you make a state machine using a PIC? |
i have been playing around with FPGA's lately and love the simplicity of state machines in VHDL. is there an easy way to do a state machine design using a PIC micro? what would the format look like? ... |
Topic: IS there a clever way to handle this task??? |
buckeyes1997
Replies: 14
Views: 17658
|
Forum: General CCS C Discussion Posted: Fri May 13, 2005 11:50 am Subject: good but.... |
i dont think the 12c508 has interrupts. i might be wrong and hopefully someone can tell me for sure, but thats why i figured checking for the high at time intervals was the way to go.
its seems li ... |
Topic: IS there a clever way to handle this task??? |
buckeyes1997
Replies: 14
Views: 17658
|
Forum: General CCS C Discussion Posted: Thu May 12, 2005 8:14 pm Subject: IS there a clever way to handle this task??? |
suppose i have an event that happens roughly every 10ms (goes high) and i want to continuously check that condition and if it stops going high turn on an LED.
im going to use a cheap 8 pin PIC such ... |
|