hello all
as i understand right, dec (on hserout) and # (on serout) writes a number sign by sign out.
now, i am searching for something similar: a value (byte or word) that i should be able to...
Type: Posts; User: mischl; Keyword(s):
hello all
as i understand right, dec (on hserout) and # (on serout) writes a number sign by sign out.
now, i am searching for something similar: a value (byte or word) that i should be able to...
hello all
a bit a simple question at a first glance, but i have had some problems earlier with this....
if i have a button some centimeters or a few meters away from a pic, what would be the...
hello all
the 16f876a for example offers at portc some schmitt trigger inputs instead ttl.
how does they work exactly in consideration to debounce a button? i didn't find an information about the...
hi steve
thans a lot for your answers.
the circuit is at 5volt so no problems with brown out.
a question to the oscillator selection : i burned the 4mhz bootloader with HS set as config...
hello all
i use a bootloader in a project out in the field.
it is a read in from some buttons and send the value out over serial command. now, sometimes it sends obviously always the same code...
i had also some problems a year before with dtmf generation...
at last, i used a 18f242 instead a 16f876 because it is possible to use a 10 mhz oscillator and on pll inside it is 40 mhz.
about...
i would go a step back first :
which pic did you use? how is your setup of ANSEL, CMCON? OSC?
best is you post the whole code
i've done a job with this ones, prefered the sbc68ec with bootloader :
http://www.modtronix.com/index.php?cPath=1_36
they work now in this release very fine. be sure that you have a switch...
hi
take a look at this : http://www.melabs.com/resources/samples/x2/pbp/servox2.bas
this will help i hope
the pot values goes from 127 to 0 instead 0 to 127?
then change the plus and minus on your pot, that changes the direction
divide adval by 2
adval = adval / 2
adval = adval >> 2
take this elements in your code
number var word ' a word sized variable with 2 bytes
number = 350 ' give them the max value for testing
use a word instead a byte...
word = 16 bit = 2 byte
becuase i'm not sure without testing, try this :
SerOut PORTA.3,t2400,[" the first number is : ",b0,13,11]
SerOut PORTA.3,t2400,[" the second number is : ",b1,13,11]
if this works, you know...
please post your code si we can take a look
you can define the osc as usual, don't write any : @ DEVICE pic12F675, INTRC_OSC ' activates internal osc
how looks your serout2 command?
uuups. sorry, you are right, there is no uart at the 12f675 ;-)
look at the manual under SEROUT2 for calculating baud rate. 31250 baud needs a 20 mhz crystal.
for analog in : some sample...
hi
cool project!
i did the same with an 16f876a once, here the most important settings :
DEFINE OSC 20 ' oscillator speed
what means this? external pull ups and then ... power supply something...?
sorry, my english is not so fine ;-)
hello steve and sougata
thanks for your hints.
i plan to change this three inputs (b5,b6,b7) to change to a2,a3,a5 and renew to code from the interrupt handler to a subroutine.
on the build in...
hello all
i got a new problem around portb4:7. because i have a device out with this inputs interruptable where allways some problems occur (pic seems like frozen, must be repowered again) i start...
hi all
on a 12f675 with internal osc speed 4mhz i have the following main routine. this toggles two digital outputs asyncronus. i thinked (dangerous?) that one cycle of this while execution needs...
you are really sure that is a reset and not a undebounced input which executes an unexpected part of the code?
how is the BROWN-OUT RESET configure?
good luck
hello darrel
thanks for your hint. sorry my late reply - had some days off :-)
with the add command it works much more better, good tip. thanks!
i searched a while for the asm interrupt and...
dear darrel
thanks a lot for your message. alone the commitment "it must work" helps me a lot. i tested now a bit and it works fine! unfortunalety i don't know why... it seems that i had somewhere...
hello all
to the entry above
no one an idea why timer1 runs without a start command? did i done something obviously incorrect? thanks for a feedback
the application is like a stop watch. i...