Home
Store
Learn
OBEX
Discussions
Sign In
Home
›
Microcontrollers
Sign In
·
Register
Equip your Genius
Welcome to the Parallax Discussion Forums, sign-up to participate.
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
97.9K
All Categories
759
Announcements
63.9K
Microcontrollers
26.8K
Propeller 1
1.2K
Propeller 2
18.7K
BASIC Stamp
1.9K
Learn with BlocklyProp
8K
Robotics
53
Customer Projects
3.2K
Accessories
20.3K
General Discussion
SX 4Mhz Delay Sub
microcontrolleruser
Posts:
1,193
2018-06-20 - 14:49:47
edited 2018-08-01 - 05:44:35
in
Microcontrollers
To produce a one second delay do this.
Set prescaler to 256.
Loop 39 times to produce 1/100 second delay.
Second loop countdown 100 to make your one second delay.
Pretty handy.Ran across that working on a project.
Comments
Mike Green
Posts:
22,853
2018-06-20 - 17:12:24
This topic does not belong in the Basic Stamp forum. It can go under Microcontrollers. The subtopics, Propeller1, Propeller2, and Basic Stamp are limited to topics having to do with those specific microcontrollers.
VonSzarvas
Posts:
1,441
2018-06-20 - 17:14:24
Admin: Moved to microcontrollers.
microcontrolleruser
Posts:
1,193
2018-07-31 - 04:18:26
edited 2018-07-31 - 04:29:08
Found 32khz internal oscillator or RC setting in SX Editor/Device.
See if it applies to SX28.
That makes coding delays about as simple as it gets.
Sign In
or
Register
to comment.
Comments
Found 32khz internal oscillator or RC setting in SX Editor/Device.
See if it applies to SX28.
That makes coding delays about as simple as it gets.