A digital level, or for that matter, any level, is not going to work as you would like if the bike is moving. A level is fine if the bike is stationary, but as soon as it begins to move the measurement of inclination will be effected by acceleration and a moving bike is ALWAYS accelerating.
Some of the cycle computers calculate grade (inclination) by measuring the elevation change over the distance change but they are not going to be accurate to any supper fine degree over a short distance.
There are some mapping programs, like Delorme TopoUSA that will tell you elevation anywhere along the route you plot. In 2004/2005 I travelled the western USA in an old motorhome that would overheat on long climbs so I used TopoUSA to plot routes with less climbing. I travelled south from Cheyenne Wyoming to Colorado Springs and wanted to head west towards Salt Lake City but TopoUSA showed that all routes west through Colorado had massive climbs to 10,000 feet or more so I wound up heading back towards Cheyenne and then heading west on I-80 because it had easier climbs.
Brian