182 Posted Topics

Member Avatar for Mike_99

[url]http://www.ustr.net/lcd001.shtml[/url] You need to see the diagram to understand what's happening. P0 is the low byte and P2 is the high byte of the address bus. 2A67H is placed on the address bus. ALE goes low and enables the latch. 67H goes through to the output of the latch. P0 …

Member Avatar for Salem
0
132
Member Avatar for Mike_99
Member Avatar for Mike_99
0
122
Member Avatar for Jacky1
Member Avatar for dimension

Your circuit is wrong. You've no current limiting resistors at the base of the transistors, which causes the chip to drive them at it's maximum output high current, which will cause it to overheat. BJTs are current controllled, not voltage controlled. Also, the 68000 output high drops to 2.4V when …

Member Avatar for Colin Mac
0
149
Member Avatar for OnIIcE

Are you able to obtain an amplitude for every sample from beginning to end from the wav file? That's the information you need. So if the wave is sampled at 44.1 KHz, you have an amplitude at every 1/44100 of a second. And if it's 16-bit PCM encoded, then the …

Member Avatar for skatamatic
0
222
Member Avatar for hervens

[QUOTE]What i basically want to do, is interresting stuff like, controlling an rc car with your computer, or opening a light with your computer, etc.[/QUOTE] The parallel port is the most simplest port you'll find on a computer and could do those things for you. I'd start there (providing you …

Member Avatar for dougy83
0
350
Member Avatar for munyandi

Depends on whether you want to use the mic insert on the PC or external hardware and send the voice info to the PC. The latter is probably doable for word recognition but not translating whole sentences.

Member Avatar for scorpious
0
147
Member Avatar for badbloodyeyez

You'll need a 8051 with USB support, or a UART-USB converter. Try here for that. [url]http://www.ftdichip.com/[/url]

Member Avatar for badbloodyeyez
0
110
Member Avatar for Duki

A loopback test would verify that. [url]http://zone.ni.com/devzone/cda/tut/p/id/3450[/url]

Member Avatar for dougy83
0
199
Member Avatar for AtomicProGS9

[quote=AtomicProGS9;304598]so what software should you really have, which one is better as well as packages and such. or is there another virus protection program that you can buy that is better than these two?[/quote] There is a free antivirus program available that's better than those two, according to recent antivirus …

Member Avatar for ronda
0
160
Member Avatar for the reaper

[QUOTE=Adak;663885] I understand your issue on portability. I have several programs that were written in Turbo C, and won't run in Visual C. So I continue to run them in Turbo C's IDE, or directly, as executables in Windows. They run great! Faster than ever, with newer hardware. The very …

Member Avatar for WaltP
0
260
Member Avatar for np2100

[QUOTE=np2100;662070]Yea but what goal are people working towards when they start with console? Do they continue to make applications in console?[/QUOTE] Some programs don't need human interaction directly. Just look at some of the programs that make up the software installed on your computer, or belong to your OS. Frontends …

Member Avatar for yap.nice
0
133
Member Avatar for cinderella_nez

Create a variable for units and a variable for tens. Decrement the units variable, then pass each to a subroutine which checks its value and sends out the particular code. If the units variable is zero, it becomes nine and decrement the tens variable.

Member Avatar for abhisdm
0
551
Member Avatar for dongzhe

[QUOTE]your chip don't have EEPROM data memory? [/QUOTE] The program is written to flash program memory and can be rewritten. EEPROM data memory is used for storing data.

Member Avatar for swaira umar
0
154
Member Avatar for piods
Member Avatar for ArkM
0
133
Member Avatar for RichardBerry

There's free versions of compilers for writing in other languages like C and Basic which come with libraries. If you used a few PICs, this wouldn't be difficult I wouldn't think. PICs can come with PWM outputs you could use. You could parallel the leds and switch a mosfet to …

Member Avatar for Colin Mac
0
146
Member Avatar for pdk123
Re: help

The only potential problem you can be sure about is that 'boolean' isn't a standard type.

Member Avatar for Prabakar
0
193
Member Avatar for monicas

[url]http://forum.allaboutcircuits.com/showthread.php?t=12948[/url] When you post your question all over the internet, people don't know what answers you've been given and then waste their time by giving the same answers.

Member Avatar for Colin Mac
0
113
Member Avatar for Acidburn

This is one module for a particular application. [url]http://www.robotstore.com/store/product.asp?pid=817&catid=1600[/url] Maybe it's just the transducers you need [url]http://www.sunrom.com/index.php?main_page=product_info&products_id=74[/url] Here's a circuit using such transducers [url]http://www.leang.com/robotics/info/articles/minison/minison.html[/url] To answer your question, you could interface the sensors to a computer. You normally interface the sensors to a microcontroller and then to a PC. It …

Member Avatar for Acidburn
0
148
Member Avatar for HLA91
Member Avatar for bugger
Member Avatar for rraj.be

[url]http://www.teuthis.com/html/daisy_mp3.html[/url] Unless you mean a player in software?

Member Avatar for marco93
0
294
Member Avatar for seesy123

After you read the command, it would be a case of one instruction to move a value into an address or a register. Why not spend a day at this tutorial. [url]http://www.mstracey.btinternet.co.uk/pictutorial/picmain.htm[/url] edit - Your chip has only 18 pins though. You might need something bigger for this project.

Member Avatar for seesy123
0
233
Member Avatar for govind_kishan

Keil has an evaluation compiler. It's limited to 2K of object code. [url]https://www.keil.com/demo/eval/c51.htm[/url] SDCC also targets the 8051 [url]http://sdcc.sourceforge.net/[/url]

Member Avatar for jephthah
0
110
Member Avatar for Alex Edwards

[QUOTE]I found an interesting question on the internet... An interviewer asked a programmer "How would you divide without using division or multiplication?"[/QUOTE] Division is repeated subtraction. 6/3 = 2. 3 can be subtracted from 6 twice, until you're left with zero. Which explains why dividing by 0 is infinity. Multiplication …

Member Avatar for Alex Edwards
1
383
Member Avatar for nathan.petrelli

Download MPLAB from Microchip's website. Then go over your course notes. If they're not good enough, google for a tutorial.

Member Avatar for Colin Mac
0
182
Member Avatar for Utter_iMADNESS
Member Avatar for carobee

[QUOTE]i want to give the sleep in seconds..[/QUOTE] It doesn't matter. There's 1000 milliseconds in a second. If you want 5 seconds then you'd pass 5000 for example.

Member Avatar for Colin Mac
0
144
Member Avatar for Black Magic

Yes. You'd need to limit rand to the amount of cards in a deck. You'd typically use a switch statement instead of the if/else's there. You'll need a for loop to check if the card has already been drawn. Btw, the river is the fifth card dealt not the name …

Member Avatar for Salem
0
101
Member Avatar for lich

Maybe not. I'd recommend taking initiative even so. It's how students stand out from the rest and it shouldn't be difficult. [url]http://www.purplemath.com/modules/exponent2.htm[/url]

Member Avatar for jephthah
0
114
Member Avatar for Drake

Basically, why use global variables when they aren't necessary. You have tighter control over local variables. You decide what sees them. Some situations I find global variables are useful, like in a program that has mutliple files when passing parameters to functions isn't practical. That's my opinion.

Member Avatar for jephthah
0
189
Member Avatar for cebubinary

Your syntax is fine. Run this and check. [code=C]#include <stdio.h> int main() { FILE *fp=fopen("c:\\documents and settings\\test.txt","w"); fputs("test", fp); fclose(fp); return 0; } [/code]

Member Avatar for Nick Evan
0
253
Member Avatar for harsh2327

It doesn't have anything specific. Just don't use anything that isn't standard C.

Member Avatar for tesuji
0
207
Member Avatar for The Dude

Gave me a fright there for a minute. We celebrate it on a different day.

Member Avatar for uniquestar
0
47
Member Avatar for RyanLeaf

Microcontrollers are mainly programmed in assembly still. C has advantages when it comes to things like decision making. Assembly has advantages when you need precise delays. Other times, the program would just end up one liner C statements anyway, so there isn't much point.

Member Avatar for Colin Mac
0
359
Member Avatar for ASJ

I think you're mixing up RAM with your computer's Hard Disk Space? [url]http://docs.info.apple.com/article.html?artnum=61131[/url]

Member Avatar for Colin Mac
0
49
Member Avatar for Aamit

fseek is causing the problem. Make sure to return a value from main. Also, learn how to use code tags - the yellow background behind your code. Edit - fseek is probably causing the problem. Your code works fine if you create a new text file and comment it out.

Member Avatar for Prabakar
0
357
Member Avatar for ConfusedMuchMor

You might want to look at the PICkit 2 Debug Express. I haven't used either but it supports ICD and you could save yourself 100 euro if it's good enough for what you need.

Member Avatar for Colin Mac
0
99
Member Avatar for arunkp
Member Avatar for jephthah
0
215
Member Avatar for Lotus_2011

itoa is a non-standard function. Have a look at sprintf instead. [url]http://www.cplusplus.com/reference/clibrary/cstdio/sprintf.html[/url]

Member Avatar for Colin Mac
0
144
Member Avatar for bhoot_jb

Code::Blocks [url]http://www.codeblocks.org/[/url] It comes with GCC and has support for numerous others.

Member Avatar for bhoot_jb
0
143
Member Avatar for rkpalmer

A timer interrupt is generally one that uses the processor's clock to generate an interrupt periodically, not one that uses an outside signal.

Member Avatar for rkpalmer
0
138
Member Avatar for Croft .L

No. Don't learn C if you want to learn C++. It make things worse. Just start with C++ if you want to learn C++.

Member Avatar for joshmo
0
131
Member Avatar for Mark515

[url]http://images.google.ie/images?hl=en&safe=off&q=flowchart&um=1&ie=UTF-8&sa=N&tab=wi[/url]

Member Avatar for Colin Mac
0
113
Member Avatar for Nimz

Hi Nimz. When declaring variables, there's a few rules. Scroll down to [I]Names in C++[/I] here [url]http://www.functionx.com/cppcli/variables/Lesson03.htm[/url] See then if you can spot anything wrong with how the variables are declared in your program on lines 6, 7, 8. After that, check the rest of the program, and see if …

Member Avatar for joshmo
0
104
Member Avatar for guy40az

It won't work and you will probably fry the port. Why are you trying to do this?

Member Avatar for hammerhead
0
137
Member Avatar for esmeco

The 7485 compares two 4-bit numbers, and tests if one is larger, smaller or equal to the other. The logic diagram is shown in the datasheet. [url]http://www.cs.smith.edu/~thiebaut/270/datasheets/sn74ls85rev5.pdf[/url]

Member Avatar for Colin Mac
0
99
Member Avatar for alias_neo

Well, If you don't want to start with asm, you could use BASIC. You don't need PWM if you just want to turn LEDs on and off. Any fixed square wave will do it. In other words, just toggle the pins. There's a free version of the Swordfish compiler you …

Member Avatar for Colin Mac
0
116
Member Avatar for rockmania

I think you might be looking for this function [url]http://www.cs.colorado.edu/~main/cs1300/doc/bgi/getimage.html[/url] See this too. [url]http://www.geocities.com/SiliconValley/Park/3230/pas/pasl2007.html[/url]

Member Avatar for Salem
0
151
Member Avatar for ketan.kaloni

The End.