Programming timer interruption

1,000,000us is 1 second, not a 100ms

see this and this