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.

Getting warning C209 as 'too few actual parameters'

Status
Not open for further replies.

angiey

Junior Member level 1
Junior Member level 1
Joined
Jul 2, 2012
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,436
As i'm using Keil IDE, i'm getting the warning as too few actual parameters,& is there any alternative for uint8_t since in my program i have not used
stdint.h header file so when i initialised uint8_t to unsigned char typedef it got compiled with the above warning msg..
Help me in solving this warning..





Code C - [expand]
1
2
3
4
5
6
typedef unsigned char uint8_t;
 
void set_output_v(uint8_t v)
{
P2 = (P2 & 0xF0) | v;
}

 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top