PSoC Creator -> custom components -> enumerated type as radio buttons

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi!

   

 

   

My question is quite simple, how do you convert enumerated type to radio buttons when making your own custom components.?

   

I would like to have something similar to this: http://rain.risk.ee/pictures/radio_buttons.png

   

I could not find any information about it in the component author guide.

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, Rainy!

   

You will need to write a customizer for your component. There are some APIs explained in the "Customizer API Reference Guide". Read chapter 7 in the "Component Author Guide" concerning customizing your component. Best is to start with a copy of a working c-file and change/expand its properties.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Thank you, Bob, for the quick reply!

   

I had absolutely overlooked the                    customizer part of the guide...

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are always welcome.

   

 

   

Happy coding

   

Bob

0 Likes
RaAl_264636
Level 6
Level 6
50 sign-ins 25 sign-ins 10 solutions authored

Would be nice if there's a extended tutorial on the customizer. I couldn't figure out how to use it properly (but I haven't spent much time on investigation, so I should do that first).

   


Regards,

   

 

   

Ralf

0 Likes
Anonymous
Not applicable

This document should help you in achieving this,

   

http://www.cypress.com/?docID=43028

   

 

   

Thanks,

   

Keerthi

0 Likes