i new whit Processor Expert

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i new whit Processor Expert

Jump to solution
1,724 Views
quimey
Contributor I

hi i was work in code warrior whiout Processor Expert ,but now i can learn to use Processor Expert,

can someone tell me how to turn on a led using adc bean when the analogic input of the channel 1 is greater than 0x00ef

I need to aplication notes Processor Expert how to use the function i the beans like measure() getval() etc ?can you sen me the names ?

muchasss graciassssss

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,037 Views
ProcessorExpert
Senior Contributor III
You can find some examples of using ADC bean in help of ADC bean in bean´s pop-up menu on page "Typical usage". More detailed information about bean´s setting, methods and events are available in hints and the help on pages
properties, methods and events. To toggle with a logic value of a pin you can for example use "NegVal" method from BitIO bean.
 
Example:
 
AD1_GetValue(&Value);
if (Value > 0x00ef){
Bit1_NegVal();
}
 
Best Regards,
Vojtech Filip
Processor Expert Team

View solution in original post

0 Kudos
Reply
1 Reply
1,038 Views
ProcessorExpert
Senior Contributor III
You can find some examples of using ADC bean in help of ADC bean in bean´s pop-up menu on page "Typical usage". More detailed information about bean´s setting, methods and events are available in hints and the help on pages
properties, methods and events. To toggle with a logic value of a pin you can for example use "NegVal" method from BitIO bean.
 
Example:
 
AD1_GetValue(&Value);
if (Value > 0x00ef){
Bit1_NegVal();
}
 
Best Regards,
Vojtech Filip
Processor Expert Team
0 Kudos
Reply