Skip to content

Commit e3396a7

Browse files
increase serial baud rate
1 parent 2fc4ddd commit e3396a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/Simple-Scintillation-Counter/Simple-Scintillation-Counter.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
/*
22
33
Mini SiD Example Sketch: Simple Scintillation Counter
4-
Only works on the Raspberry Pi Pico and arduino-pico!
4+
Designed to run on a Raspberry Pi Pico (!), because of the dual core performance.
5+
Should successfully compile without any special settings.
56
67
Triggers on newly detected pulses and displays average cps values.
78
89
2023, NuclearPhoenix. Open Gamma Project.
910
https://github.com/OpenGammaProject/Mini-SiD
1011
11-
Hackaday:
12+
Initial Hackaday log:
1213
https://hackaday.io/project/188090-mini-sipm-driver-board/log/213532-simple-scintillation-counter-example
1314
1415
*/
@@ -26,7 +27,6 @@ const uint8_t SCREEN_ADDRESS = 0x3C; // See datasheet for Address; 0x3D for 128
2627
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
2728
volatile uint32_t counts = 0; // Accumulated counts
2829

29-
3030
void eventInt() {
3131
digitalWrite(LED, HIGH); // Activity LED
3232

@@ -46,7 +46,7 @@ void setup() {
4646

4747

4848
void setup1() {
49-
Serial.begin(9600);
49+
Serial.begin(115200);
5050

5151
if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
5252
while (true) { // Don't go further

0 commit comments

Comments
 (0)