humidity sensor

hallo I am new here,

i am playing with a arduino and humidity sensor. I was wondering if someone could help me with a example code for this sensor without using the library, because I don't fully understand the library yet. just want to read the temperature and the humidity and see it on the serial monitor.

tanks

because I don't fully understand the library yet.

Why do you think you need to understand the library? Do you have a clue how your phone connects to another phone? Without knowing that, can you still call a friend?

joerivd1: because I don't fully understand the library yet.

The purpose of the library is to abstract away the low-level details. If you want to learn those details, look in the library code itself. But, if you don't understand how to use the library, you definitely won't understand the code that implements those details.

and without knowing which "humidity sensor" nor which library, there is limited chance you'll get a solid answer..