Attachments are accessible only for community members.
Implementation of math functions in PSoC Express
Anonymous
Not applicable
Feb 27, 2011
12:08 PM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Feb 27, 2011
12:08 PM
Question: How to implement math funtion in PSoC express
Answer:
Follow the steps mentioned below-
1.Make a project in PSoC express.
2. Generate/Build the project and open application explorer
3.Identify the variable names that needs to be processed. All the variables are present in systemvars.h file. Its instance is created in systemvars.c file.
4.Go to custom.c file. Declare these variables as extern. This enables you to use these variables ,declared in other files, in custom.c.
5.In CustomPostInputUpdate() function, you can process the data of input driver variable. You can use all the functions supported by the compiler.
6. Save all
7. Build the project See attached file for an example of implementation procedure.
Labels
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous