"P24C64C 芯片资料:I2C兼容串行E2PROM数据表"

需积分: 9 0 下载量 33 浏览量 更新于2023-12-17 收藏 404KB PDF 举报
The P24C64C is a 64-Kbit I2C-compatible Serial EEPROM (Electrically Erasable Programmable Memory) device, with a memory array of 8K × 8 bits organized in 32-byte per page. There are two devices available for different applications: P24C64C-MI, with a voltage range of 1.7V to 5.5V and a temperature range of -40°C to 85°C, and P24C64C-NK, with a voltage range of 1.8V to 5.5V and a temperature range of -40°C to 105°C. Both devices have a maximum clock frequency of 1MHz. The P24C64C is suitable for a variety of applications due to its different voltage and temperature ranges. It can be used in environments with a wide range of operating conditions, making it versatile and adaptable to different needs. The I2C compatibility allows for easy integration into existing systems, and the 64-Kbit capacity provides ample storage for data. Overall, the P24C64C is a reliable and versatile EEPROM device that can be used in a wide range of applications, offering flexibility and easy integration with existing systems. With its different voltage and temperature ranges, it is suitable for use in various operating conditions, making it a practical choice for many different needs.

在上一题Point2D和Point3D类的基础上,新建一个TestPointV2类,在TestPointV2类的main()方法中添加如下语句。 Scanner sc = new Scanner(System.in); System.out.println("Please enter the coordinates of p23:"); double p23x = sc.nextDouble(); double p23y = sc.nextDouble(); Point2D p23 = new Point2D(p23x, p23y); System.out.println("Please enter the coordinates of p31:"); double p31x = sc.nextDouble(); double p31y = sc.nextDouble(); double p31z = sc.nextDouble(); Point3D p33 = new Point3D(p31x, p31y, p31z); System.out.println("Please enter the coordinates of p24:"); double p24x = sc.nextDouble(); double p24y = sc.nextDouble(); double p24z = sc.nextDouble(); sc.close(); // The reference of the parent class refers to the object of the subclass. Point2D p24 = new Point3D(p24x, p24y, p24z); System.out.println("Does " + p23 + " coincide with " + p33 + "? -- "+ p23.equals(p33)); System.out.println("Does " + p33 + " coincide with " + p23 + "? -- "+ p33.equals(p23)); System.out.println("Does " + p33 + " coincide with " + p24 + "? -- "+ p33.equals(p24)); System.out.println("Does " + p24 + " coincide with " + p33 + "? -- "+ p24.equals(p33)); System.out.println("Does " + p23 + " coincide with " + p24 + "? -- "+ p23.equals(p24)); System.out.println("Does " + p24 + " coincide with " + p23 + "? -- "+ p24.equals(p23)); 假设引用变量p23、p33和p24所指点对象的坐标依次为(0, 0),(0, 0, 5),(0, 0, 5)。从键盘输入这三个点的坐标值,上述语句的运行结果如下: Please enter the coordinates of p23: 0 0 Please enter the coordinates of p31: 0 0 5 Please enter the coordinates of p24: 0 0 5 Does (0.0, 0.0) coincide with (0.0, 0.0, 5.0)? -- true Does (0.0, 0.0, 5.0) coincide with (0.0, 0.0)? -- true Does (0.0, 0.0, 5.0) coincide with (0.0, 0.0, 5.0)? -- true Does (0.0, 0.0, 5.0) coincide with (0.0, 0.0, 5.0)? -- true Does (0.0, 0.0) coincide with (0.0, 0.0, 5.0)? -- true Does (0.0, 0.0, 5.0) coincide with (0.0, 0.0)? -- true 该结果显然不符合事实,请分析原因并改进Point2D类的代码,使得上述TestPointV2类的代码能够得到正确的运行结果。

2023-05-05 上传
2023-06-09 上传