Linux hardware time (RTC time), system time (UTC time, Universal time), local time (Local time), time zone (Time zone) and daylight saving time (DST) analysis

Article directory Understand time: hardware time, system time (UTC time), local time, time zone and daylight saving time 1. Hardware time (RTC time) 1.1 Introduction to hardware time 1.2 How to use hardware time 2. System time (UTC time) (Universal time) 2.1 Introduction to system time 2.2 UTC time 3. Local time 3.1 Introduction to […]

MCU-based blind navigation smart crutches for the elderly to prevent loss and fall and send short message positioning

Function Introduction Using STM32 microcontroller as the main control system; OLED LCD current real-time distance, safe distance, current longitude and latitude information; When the ultrasonic detection is less than the set safety distance, the buzzer alarm prompts: Lower than the safety distance! Ultrasonic detection of current obstacle distance and GPS for positioning; The photosensitive sensor […]

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 […]

In Spark SQLHadoopMapReduceCommitProtocol, choose 1 or 2 for mapreduce.fileoutputcommitter.algorithm.version

Background This article is based on spark 3.1.1 For spark, the default mapreduce.fileoutputcommitter.algorithm.version is 1 This can be seen in the SparkHadoopUtil.scala code: private def appendSparkHadoopConfigs(conf: SparkConf, hadoopConf: Configuration): Unit = { // Copy any “spark.hadoop.foo=bar” spark properties into conf as “foo=bar” for ((key, value) <- conf.getAll if key.startsWith(“spark.hadoop.”)) { hadoopConf.set(key.substring(“spark.hadoop.”.length), value) } if (conf.getOption(“spark.hadoop.mapreduce.fileoutputcommitter.algorithm.version”).isEmpty) […]

Standard IO process thread functions: fopen, perror, fclose, fprintf, fscanf, fputc, fgetc, buffer, fputs, fgets, fwrite, fread, fseek, ftell,

Standard IO functions: 1. Stream pointer (FILE*): FILE* fp=fopen(“1.txt”,”r”): This fp is a stream pointer. When this file is opened in read-only mode, a buffer will be applied for at the same time. At this time, the stream pointer fp It will contain the information of the current reading position of the file, if it […]

[Elementary C Language] Learn to use the library functions getchar and putchar

Directory One, getchar function 1. Function: 2. Recognize functions 3. use Two, putchar function 1. Function 2. Definition 3. use 3. The use of getchar and putchar Fourth, the application of getchar 1. getchar function 1. Function: The function of this function is to receive a character, and then convert the character to the corresponding […]

Single-chip computer-based navigation for the blind, intelligent crutches, anti-lost, anti-fall, and short-message positioning for the elderly

Function Introduction Using STM32 microcontroller as the main control system; OLED LCD current real-time distance, safety distance, current latitude and longitude information; Ultrasonic detection is less than the set safety distance, the buzzer alarm prompts: below the safety distance! Ultrasonic detection of the current obstacle distance, GPS positioning; The photosensitive sensor detects the strength of […]

Single-chip computer-based navigation for the blind, intelligent crutches, anti-lost, anti-fall, and short-message positioning for the elderly

Function Introduction Using STM32 microcontroller as the main control system; OLED LCD current real-time distance, safety distance, current latitude and longitude information; Ultrasonic detection is less than the set safety distance, the buzzer alarm prompts: below the safety distance! Ultrasonic detection of the current obstacle distance, GPS positioning; The photosensitive sensor detects the strength of […]