His writings include works on mechanics, sound, astronomy, the tides, the laws of motion, the Torricellian tube, botany, physiology, music, the calendar (in opposition to the Gregorian reform), geology, and the compass,-a range too wide to allow of the greatest success in any of the lines of his activity. He was also an ingenious cryptologist and assisted the government in deciphering diplomatic messages.