The meanings of present participle
when I use "present participle" İn the begining of the sentences, does it mean "Because and after?
1-En me réveillant à 6h, j’ai fini avant midi.=Because I woke up at 6 am, I finished before noon.
2-En me réveillant à 6h,Je suis allé à l'école= After I got up at 6 am,I went to School?
Please help :)