- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear community,
i'm very new to cypress psoc and have developed a little application which reads the temperature and humidity from an dht-22 sensor.
This works really great, but now i thought it would be much better to create an component as an easy driver source for future projects.
So what i've done til now is created an Library Project and added an symbol with one output pin (DHT-22 works with an single line data).
Then i created an api file .c and .h For read and write i created an schematic with an Terminale and an control register. The control register is used to read and write the data.
My problem now is that the Register seems to be optimized and is greyed out in my project.
Is my approach right? Or should things be done in an other way?
Regards
Moritz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a program that reads the DTH11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
have updated the library with the tri state buffer and now it compiles. I will check on weekend if the sensor readings are working as expected.
Regards
Moritz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey guys thanks for help.
The Library is now working like charms
Regards
Moritz