Result: Showing a Raw ADC Result from the Pressure Sensor with Unexpected Runtime Error
When the pressure sensor is tested to see the raw ADC 10-bit data on the LCD, the actual data did not appear. In the program, the bitwise operation for shifting and setting the ADEN (ADC Enable) to 1 was not correct. The shift operator uses two less than symbols and the program only had one less than symbol. It was a runtime error rather than an error at compile time is because the singe less than symbol is a valid symbol and valid in the context.
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.