Post your code and schematic.
There's nothing unusual about a LED lighting up when writing a LOW, it just depends on how you've wired it, and whether or not you've made sure that your pin is an output.
Post your code and schematic.
There's nothing unusual about a LED lighting up when writing a LOW, it just depends on how you've wired it, and whether or not you've made sure that your pin is an output.