Does it work on a different iPad? Have you tried forgetting the device and reattaching it? (Settings app > Bluetooth > Apple Pencil > little round info button > Forget This Device.)
Topic:
Community
SubTopic:
Apple Developers
Tags: