Using passive components like the potential divider for converting a 5V signal to a 3v3 one is not a technique that works on Ada's wave shield used to use this technique but she changed it to using TTL voltage converters for better reliability.

Quote

There is only bits and peices of code on the thread

If you are only using bits and pieces of code how do you expect it to work? You need to post what you have tried.