所以我尝试使用DS1302 RTC制作Arduino LCD实时时钟。 它的工作原理和读取存储在RTC正常,但每隔一秒的时间,显示空数据集 Here's a snapshot of the serial monitor and the sketch 的我似乎无法找到问题。 它可能来自图书馆本身,但我从视频中看到它可以正常工作的视频中得到它。 我在这个环境中是新的,所以任何类型的帮助非常感谢。 这是
我正在使用Java编写一个程序,用于能够“打勾”但能解决问题的时钟。我认为它与getter和setter或toString()方法有关。 计数器类 package clock;
public class Counter
{
private int _count;
private String _name;
public String getName(){return _name;}