Continue to Site

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.

Pic18f4520 -MPLAB IDE

Status
Not open for further replies.

adelin

Newbie level 6
Joined
Jan 15, 2011
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,374
HI..i have a problem.. i have a project with name " designing an application (in MPLAB IDE) for interfacing with a remote IR signal (display key codes pressed)". Accessories: PIC18F4520, TSOP 1136, remote control ; pls if you can help me with the c++ CODE( main.c). an example please.. waiting for your answer ..thanks >:D<

 

const long sine_wave[32] = {81,162,241,318,392,462,527,588,642,691,733,768,795, // sine wave constants;
815,827,831,827,815,795,768,733,691,642,588,527,462,
392,318,241,162,81,0};
 
const long sine_wave[32] = {81,162,241,318,392,462,527,588,642,691,733,768,795, // sine wave constants;
815,827,831,827,815,795,768,733,691,642,588,527,462,
392,318,241,162,81,0};

what role these constants? thanks
 

these are for sine pwm generation ..these are actually sine samples at different angles and make up the look up table for sine wave ..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top