It's not quite a medieval society, but The Windup Girl https://www.goodreads.com/cs/book/show/6597651-the-windup-gi... feature a post-climate change world where most energy comes from beasts of burden, but there are still a few rare computers and staggeringly expensive carbon-fuelled vehicles.