Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Help Identify a small plastic flanged/wall mount enclosure.
I'm struggling to identify the manufacturer of small plastic flanged(wall mount) enclosure.
The dimensions: ~82mm x 54mm x 30mm (3.2" x 2.1" x 1.2").
Features: Hidden screws on flanged lid, includes screw-hole plugs, smooth sides...
Please forgive me.
But my line of questions seems like a logical progression of my original question discussion as it affects the cycle divisor ratio referenced in the first reply. I will create a new post.
So the cycle divisor ratio I have been using above formula is 12 (with STC11F16XE).
The spec sheet of the STC11F16XE states:
The STC89C54RD+ spec states:
So with these facts in mind, I must ask why two different 8051 compatible MCUs (STC11F16XE, STC89C54RD+) would have a wildly different reaction to these basic Delay functions.
ie. Using a STC11F16XE a simple LED blink using delay like: void delay(unsigned int itime) {
unsigned int i,j;
for...
Yes, I transposed the crystal frequency, it is the common 11.0592 mhz.
So the Engineer's Garage link I referenced failed to display the 1.079us (one machine cycle time) in his formula.
So why is the 1275 value so common when a lower value would equate to a more accurate 1.0ms?
Understanding a Delay, for(j=0;j<1275;j++);, Crystal freq & 1275, 8051
I see countless uses of this basic Delay, usually for milliseconds.
void delay(int ms) //Produces a delay in msec.
{
int i,j;
for(i=0;i<ms;i++)
for(j=0;j<1275;j++);
}
I have not been able to...
In this code I'm trying to determine what the:
sbit en1=P2^7;
is referring to. An LED state, indicator? Used in place of an int value maybe?
#include<intrins.h>
#include<reg51.h>
sbit rs=P0^1;
sbit rw=P0^2;
sbit en=P0^3;
sbit en1=P2^7;
sbit sda=P1^0;
sbit scl=P1^1;
void i2c_start();
void...
The code I'm working on was in a project located here: https://electronicswork.wordpress.com/2012/10/11/digitalclock/
I'm using Keil uVision4, I thought it should be reliable.
I have this same problem with unprintable character 0x96 on build, in the below code.
So I updated the code from h-; to h--;
Clock_Cal1.c(183): error C100: unprintable character 0x96 skipped
Clock_Cal1.c(191): error C100: unprintable character 0x96 skipped
Clock_Cal1.c(217): error C100...
My initial post displays the Demo Code I referred to (that you commented on previously). My question is also given. I'm Sure the example is not working properly.
I'm trying to learn C, and basic demo code that was included with my 8051 development board is helpful in learning by example.
A...
Re: 1602 LCD Row & Col Question, 8051 LCD Demo test in C.
I thought I understood the DisplayListChar function.
I found this format (Col-X, Row-Y) in the original demo code, matching function, not working.
DisplayListChar(4, 0, "Line 1"); // original code
DisplayListChar(4, 1 "Line 2")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.