About using the super-core HI600D to obtain UTC time, latitude and longitude, east longitude, ground speed, ground heading, and date.

This article uses the stm32f103vet6 development board + super-core HI600D to obtain a series of information 1. Serial port data When we connect the Super Core 600D with a type-B data cable and connect it to the computer, open the serial port assistant and get a series of information as the picture shows: This is […]

Restart numbering, custom heading formatting in Word using POI

renderings Introducing dependencies <!– https://mvnrepository.com/artifact/org.apache.poi/poi –> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version> </dependency> <!– https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml –> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.1.2</version> </dependency> <!– https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml –> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml-schemas</artifactId> <version>4.1.2</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>ooxml-schemas</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-scratchpad</artifactId> <version>4.1.2</version> </dependency> Sample Code import cn.hutool.core.date.DateTime; import org.apache.poi.xwpf.usermodel.*; import org.openxmlformats.schemas.wordprocessingml.x2006.main.*; import org.springframework.stereotype.Component; import javax.annotation.PostConstruct; import javax.xml.bind.annotation.adapters.HexBinaryAdapter; import java.io.File; import java.io.FileOutputStream; […]