Skip to main content
Arduino

Return to Question

Tweeted twitter.com/StackArduino/status/832609277705592832
Notice removed Authoritative reference needed by Railsana
Bounty Ended with aaa's answer chosen by Railsana
Notice added Authoritative reference needed by Railsana
Bounty Started worth 100 reputation by Railsana
added 401 characters in body
Source Link

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
SevenSegmentExtended display(PIN_CLK, PIN_DIO);
void setup() {
 Serial.begin(9600);
 display.begin();
 display.print(F("TEST"));
}
void loop() {}

When I use the very same setup with a Pro Mini (5VXCSOURCE ATMEGA 328P, 5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

I get this output in the console:

�E%MA1e� 10001111
Acknowledged: 0
ADDR : 11000000
DATA0: 0
write byte: 84
ADDR : 11000000
DATA0: 1111000
write byte: 69
ADDR : 11000000
DATA0: 1111000
write byte: 83
ADDR : 11000000
DATA0: 1111000
write byte: 84
ADDR : 11000000
DATA0: 1111000

Does anyone have an idea how to debug or fix this?

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
SevenSegmentExtended display(PIN_CLK, PIN_DIO);
void setup() {
 display.begin();
 display.print(F("TEST"));
}
void loop() {}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
SevenSegmentExtended display(PIN_CLK, PIN_DIO);
void setup() {
 Serial.begin(9600);
 display.begin();
 display.print(F("TEST"));
}
void loop() {}

When I use the very same setup with a Pro Mini (XCSOURCE ATMEGA 328P, 5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

I get this output in the console:

�E%MA1e� 10001111
Acknowledged: 0
ADDR : 11000000
DATA0: 0
write byte: 84
ADDR : 11000000
DATA0: 1111000
write byte: 69
ADDR : 11000000
DATA0: 1111000
write byte: 83
ADDR : 11000000
DATA0: 1111000
write byte: 84
ADDR : 11000000
DATA0: 1111000

Does anyone have an idea how to debug or fix this?

I forgot a line from the code.
Source Link

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
SevenSegmentExtended display(PIN_CLK, PIN_DIO);

void setup() {
 display.begin();
 display.print(F("TEST"));
}
void loop() {}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
void setup() {
 display.begin();
 display.print(F("TEST"));
}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
SevenSegmentExtended display(PIN_CLK, PIN_DIO);

void setup() {
 display.begin();
 display.print(F("TEST"));
}
void loop() {}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

added 15 characters in body
Source Link

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
void setup() {
 display.begin();
 display.print(F("TEST"));
}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and everythingcan blink the onboard LED, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
void setup() {
 display.begin();
 display.print(F("TEST"));
}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and everything, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

I have a very simple setup which works fine with an Uno.

enter image description here

#include <SevenSegmentTM1637.h>
#include <SevenSegmentExtended.h>
const byte PIN_CLK = 2;
const byte PIN_DIO = 3;
void setup() {
 display.begin();
 display.print(F("TEST"));
}

When I use the very same setup with a Pro Mini (5V 16Mhz), the display doesn't light up. I get monitor outputs and can blink the onboard LED, but no reaction from the TM1637 display.

Does anyone have an idea how to debug or fix this?

added 91 characters in body
Source Link
Loading
Source Link
Loading
lang-cpp

AltStyle によって変換されたページ (->オリジナル) /