Need help for coding

I want the help for code for water level indicator using float switch and bluetooth hc 05