# AmebaServo stops GTimer interrupts

**URL:** https://forum.amebaiot.com/t/amebaservo-stops-gtimer-interrupts/4093
**Category:** Peripherals
**Tags:** rtl8735b
**Created:** [May 3, 2025, 8:05pm UTC](https://forum.amebaiot.com/t/amebaservo-stops-gtimer-interrupts/4093 "2025-05-03T20:05:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nsmith1024](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@nsmith1024](https://forum.amebaiot.com/u/nsmith1024)
#### Post date: [May 3, 2025, 8:05pm UTC](https://forum.amebaiot.com/t/amebaservo-stops-gtimer-interrupts/4093/1 "2025-05-03T20:05:13Z")

</div>

Hello,

If i have this code.

GTimer.begin(0, (1 \* 1000 \* 100), tick, false, 0);

the timer tick(…) function is called every 100 ms ok.

However if i then add this code

AmebaServo myservo;  
myservo.attach(SERVO\_PIN);

Then the timer tick stops!!!

It seems the AmebaServo function is disabling the GTimer interrupts.

Why is that happening?

Thanks

---

<div class="post-metadata">

### Author: ![nsmith1024](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@nsmith1024](https://forum.amebaiot.com/u/nsmith1024)
#### Post date: [May 4, 2025, 1:16pm UTC](https://forum.amebaiot.com/t/amebaservo-stops-gtimer-interrupts/4093/2 "2025-05-04T13:16:57Z")

</div>

Sorry it was my mistake, please ignore this.
