Skip to content

Commit 113b4c3

Browse files
authored
Merge pull request #130 from Pi4J/Is37F137Matrix_update
Is37F137Matrix_update. bmp280 displays temperatureF and time, bme280 …
2 parents a508209 + a209737 commit 113b4c3

11 files changed

Lines changed: 513 additions & 324 deletions

pom.xml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -110,34 +110,34 @@
110110
<artifactId>pi4j-plugin-gpiod</artifactId>
111111
<version>${pi4j.version}</version>
112112
</dependency>
113-
<!-->
113+
<!-- requires driver verification >
114+
<dependency>
115+
<groupId>com.pi4j</groupId>
116+
<artifactId>pi4j-plugin-ffm</artifactId>
117+
<version>${pi4j.version}</version>
118+
</dependency>
119+
<-->
120+
<dependency>
121+
<groupId>com.pi4j</groupId>
122+
<artifactId>pi4j-plugin-linuxfs</artifactId>
123+
<version>${pi4j.version}</version>
124+
</dependency>
114125
<dependency>
115-
<groupId>com.pi4j</groupId>
116-
<artifactId>pi4j-plugin-ffm</artifactId>
117-
<version>${pi4j.version}</version>
118-
</dependency>
119-
<-->
126+
<groupId>net.java.dev.jna</groupId>
127+
<artifactId>jna</artifactId>
128+
<version>5.12.1</version>
129+
</dependency>
120130
<dependency>
121-
<groupId>com.pi4j</groupId>
122-
<artifactId>pi4j-plugin-linuxfs</artifactId>
123-
<version>${pi4j.version}</version>
124-
</dependency>
125-
<dependency>
126-
<groupId>net.java.dev.jna</groupId>
127-
<artifactId>jna</artifactId>
128-
<version>5.12.1</version>
129-
</dependency>
130-
<dependency>
131-
<groupId>org.slf4j</groupId>
132-
<artifactId>slf4j-api</artifactId>
133-
<version>${slf4j.version}</version>
134-
</dependency>
135-
<dependency>
136-
<groupId>org.slf4j</groupId>
137-
<artifactId>slf4j-simple</artifactId>
138-
<version>${slf4j.version}</version>
139-
</dependency>
140-
<!-- include Pi4J Core -->
131+
<groupId>org.slf4j</groupId>
132+
<artifactId>slf4j-api</artifactId>
133+
<version>${slf4j.version}</version>
134+
</dependency>
135+
<dependency>
136+
<groupId>org.slf4j</groupId>
137+
<artifactId>slf4j-simple</artifactId>
138+
<version>${slf4j.version}</version>
139+
</dependency>
140+
<!-- include Pi4J Core -->
141141
<dependency>
142142
<groupId>com.pi4j</groupId>
143143
<artifactId>pi4j-core</artifactId>

src/main/java/com/pi4j/devices/is31Fl37Matrix/ControlLeds.java

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
/*
2+
*
3+
* #%L
4+
* * Copyright (C) 2012 - 2025 Pi4J
5+
* * %%
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* -
20+
* #%L
21+
* **********************************************************************
22+
* ORGANIZATION : Pi4J
23+
* PROJECT : Pi4J :: EXTENSION
24+
* FILENAME : ControlLeds.java
25+
*
26+
* This file is part of the Pi4J project. More information about
27+
* this project can be found here: https://pi4j.com/
28+
* **********************************************************************
29+
* %%
30+
*
31+
*/
32+
133
package com.pi4j.devices.is31Fl37Matrix;/*
234
*
335
*
@@ -62,13 +94,7 @@ public ControlLeds(Context pi4j, Console console, DigitalOutput red_led_pin, Dig
6294
}
6395

6496
private boolean init() {
65-
// this.gpio = new BaseGpioInOut(this.ffdc, this.dioPinData,
66-
// this.ffdc.logger);
67-
6897

69-
/* this..gpio.getCfgData(RaspiBcmPin.GPIO_22).input .addListener(new
70-
GpioInterruptListener());
71-
*/
7298
return (true);
7399
}
74100

src/main/java/com/pi4j/devices/is31Fl37Matrix/CreateInterrupt.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
/*
2+
*
3+
* #%L
4+
* * Copyright (C) 2012 - 2025 Pi4J
5+
* * %%
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* -
20+
* #%L
21+
* **********************************************************************
22+
* ORGANIZATION : Pi4J
23+
* PROJECT : Pi4J :: EXTENSION
24+
* FILENAME : CreateInterrupt.java
25+
*
26+
* This file is part of the Pi4J project. More information about
27+
* this project can be found here: https://pi4j.com/
28+
* **********************************************************************
29+
* %%
30+
*
31+
*/
32+
133
package com.pi4j.devices.is31Fl37Matrix;
234

335
import com.pi4j.Pi4J;

0 commit comments

Comments
 (0)