EmbLogic's Blog

To get output in form

1

1   2

1   2  3

1  2   3  4

Posted in Data Structures with C | Leave a comment

Charachters

How to calculate number of spaces or characters in a line

Posted in Data Structures with C | 1 Comment

Related to cvs and stepper motor

we have complete the cvs server and stepper motor control with the help of parallel port

Posted in Uncategorized | Leave a comment

Stepper Motor Interfacing with Parallel Port

We have Successfully Interfaced stepper motor with parallel port and tested following modes of operation:

1. Half step sequence Clockwise and Anti-clockwise.

2.Full step sequence Clockwise and Anti-clockwise.

3.Eight step sequence Clockwise and Anti-clockwise

and successfully controlled the speed of motor according to the need of application

Posted in Parallel Port Driver | Tagged | 5 Comments

Arthmetic progression

My maths is little weak so anyone please tell formula for arithmetic progression

Posted in Data Structures with C | 1 Comment

Putchar

Can anybody tell me purpose of putchar()

Posted in Data Structures with C | 1 Comment

wrong output

#include
int main()
{
int =1000;
float=333333.987654;
printf(“%d \n”,&i);
printf(“%f \n”,&j);
return 0;
}

Posted in Uncategorized | 2 Comments

for loop

what is deference between following two for loop statements

for(y=1;y<10;y++) x=y;

and for(y=1;(x=y)<10;y++);

Posted in Uncategorized | 1 Comment

how to use fgets()??

need help to get the exact way of using fgets().

 

Posted in Uncategorized | Leave a comment

updates to Siddharth Sir

sir,

Assignment 2 completed.

Posted in Data Structures with C | Leave a comment

cvs server

cvs server sucessfully created . however client operations are yet to be performed
zaffer

Posted in Uncategorized | Leave a comment

cvs server:cannot open /root/.cvsignore: Permission denied OR cvs [server aborted]: can’t chdir(/root):Permission denied

–>then you probably haven’t specified ‘-f’ in ‘inetd.conf’.
–>In releases prior to CVS 1.11.1, this problem can be caused by your system setting the $HOME environment variable for programs being run by xinetd. In this case, you can either have xinetd run a shell script that unsets $HOME and then runs CVS, or you can use env to run CVS with a pristine environment.
:D

Posted in Uncategorized | Leave a comment

Update of assignment

I have completed the 3 modes of parallel device driver i.e compatibility mode, byte mode and nibble mode.
Working on the ECP and EPP mode.

Successfully implemented man page creation and development. Working on customizing them as per the needs.

I would like to thanks Emblogic team for the C paper, it help me and was able to pass the C test for sasken. thanks again.

Posted in Parallel Port Driver | Leave a comment

What is Device Drivers

People new to Linux often hear that it has excellent support for all kinds of cards and that the device drivers are stable and fast. Sometimes, though, setting up devices under Linux is often not all plug-and-play.

Everything is a file

Many modern operating systems have a method for installing special files to make hardware work. On the Apple Mac, for instance, the drivers for the hardware devices are usually special files that go in the System Extensions folder. Linux also has special files that it uses to control the hardware.

Linux device drivers work through special kernel code that directly accesses the hardware. To make the services that the card or other device offers available to normal user programs, the kernel uses the special files in /dev

One end of the file in /dev can be opened normally and the other end is attached to the kernel. That is of course an oversimplification, but I think you get the general idea: hardware, kernel, special file, user program and the same path back from user program to hardware. There are two forms of the kernel portion of this equation: compiled-in drivers that are coded in permanently when the kernel is built, and modules.

Posted in Device Drivers | Tagged , , | 1 Comment

What is Embedded Linux

Embedded Linux

Embedded Linux

Over the last decade, a sea change has occurred in the world of embedded systems, driven by the appearance of sophisticated new products such as PDAs and cell phones and by the continual increase in the amount of resources that can be packed into a small form factor. The traditional small, narrowly focused embedded systems retain their significant presence, but these newer arrivals can capitalize on embedding a full-featured operating system. The operating system provides a wide selection of capabilities from which to choose. For example, wireless Internet connectivity and a GUI already are built in. Only a few years ago, embedded operating systems typically were found only at the high end of the embedded system spectrum.

Posted in Embedded Linux | Tagged , , | 1 Comment