Maker Pro
Maker Pro

555 woes (monostable oscillator)

M

MooseFET

Jan 1, 1970
0
There's a new rule here in the s.e.* hierarchy. Nobody's allowed to say
"Use a Pic" without providing a circuit and a program. ;-)


But - but - but. You don't need a program. All you need is the
oscillator.
 
J

Jasen

Jan 1, 1970
0
For example:

Use a PIC!
Put 2 resistors on an I/O pin..
Here's the code:

INCF FSR, 0x1
INCF INDF, 0x1
MOVLW 0x22
XORWF INDF, 0
BTFSS STATUS, 0x2
GOTO detdone
CALL rndgen
GOTO chgmode

detdone ?
rndgen ?
chgmode ?

Bye.
Jasen
 
D

D from BC

Jan 1, 1970
0
detdone ?
rndgen ?
chgmode ?

Bye.
Jasen

I"m joking around on what Rich wrote..
It's just a code snippet...
detdone was a register that contained error flags.
rndgen was a register that contained a random number.
chgmode was a register that held the control mode. 8 modes.

Unfortunately, nothing to do with the OP trying to make square
waves... :p

"Monostable oscillator" ....really?.....


D from BC
 
J

Jamie

Jan 1, 1970
0
Jasen said:
detdone ?
rndgen ?
chgmode ?

Bye.
Jasen
LOL!
Noticed that also :)
I would of got a little more creative..
LDX #$FF;
LDA #$01;
@LOOP:
STA X,$0FFF;
DEC X,
JNE @Loop;
XOR A, $0100;


:)
 
Top