My example was to get the template of slot 0. So you need to have previously enrolled a fingerprint to slot 0. You can check how many templates are stored with getEnrollCount()
or check if a particular slot is used by a template with checkEnrolled(slot).
I will try to make a more complete example later today.
getEnrollCount works as expected but checkEnrolled returns a 4111 error. looking at the datasheet thats 0x100F which is a NACK_DEV_ERR (device error especially if crypto chip is trouble) I hope this doesn't mean my GT511 has spoilt.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
My example was to get the template of slot 0. So you need to have previously enrolled a fingerprint to slot 0. You can check how many templates are stored with getEnrollCount()
or check if a particular slot is used by a template with checkEnrolled(slot).
I will try to make a more complete example later today.