A man was found asleep in his bedroom next to a tent where cannabis plants were growing when police carried out a drugs raid.
Adam Underdown told a court he suffered from hyperactivity and smoking cannabis slowed him down.
Underwood, 22, of Avon Green, Fleetwood, pleaded guilty to producing cannabis.
He was bailed for pre-sentence reports by Blackpool magistrates.
Peter Bardsley, prosecuting, said police executed a drugs search warrant at Underdown’s address on November 26.
He was found asleep in his bedroom next to a 6ft by 6ft tent. Thirty-four cannabis plants were growing inside, with a lighting heating and watering system.
Bits of cannabis were found round the address.
Underwood told magistrates that he suffered from hyperactivity and obsessive compulsive disorder.
He used cannabis to slow himself down, but it was expensive to buy so he decided to grow his own.
All the plants were going to be for his own use.