+ * @param DeviceAddr: Device address on communication Bus. + * @retval the OV2640 ID + */ +uint16_t ov2640::readID(void) +{ + /* Initialize I2C */ + //CAMERA_IO_Init(); + + /* Prepare the sensor to read the Camera ID */ + ov2640_iic.writeByte(OV2640_DSP_RA_DLMT, ...
+ * @retval the OV2640 ID + */ +uint16_t ov2640::readID(void) +{ + /* Initialize I2C */ + //CAMERA_IO_Init(); + + /* Prepare the sensor to read the Camera ID */ + ov2640_iic.writeByte(OV2640_DSP_RA_DLMT, 0x01); + + /* Get the camera ID */ + return (ov2640...