Welcome to EDAboard.com

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.

How use a speaker in Codevision AVR programming

Status
Not open for further replies.

mostafa272

Junior Member level 3
Joined
Dec 16, 2010
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,493
Hi

I have a program in VB and I want to convert it to C.in this program I use a speaker and with following code ,it will play a sound:

Sound speaker,120,20

that speaker is a PORTx for speaker and 120,20 for pulse period.

Now I don't know how can use similar code for C language that do same work.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top