Linux RTC device driver

hardware platform RiotBoard imx6sol cortex A9linux 3.10RTC chip MC13XXX i2c interface Drive loading process <1> dts Mc13xxx is an RTC chip mounted under I2C. It has an example of I2C and mc13xxx driver code in the way of SOC's own RTC peripherals. The following contents about RTC core are consistent. a) Firstly, the driver of mc13xxx ...

Posted by Adthegreat on Sat, 30 Oct 2021 23:58:50 -0700

[jsp] basic knowledge summary

1._JSP 1.1._ What is JSP JSP (Java Server Pages) is a dynamic resource on the Java Web server side. It plays the same role as HTML pages, displaying data and obtaining data. 1.2._jsp composition JSP = HTML + Javascript + JSP action tag (including EL expression) 1.3._jsp script It's essentially Java code snippets Classificatio ...

Posted by Residue on Sat, 30 Oct 2021 23:57:51 -0700

Type conversion in js

Type conversion is divided into two types: forced type conversion and implicit type conversion Cast type Forced type conversion mainly refers to three functions: Number(), String(), and Boolean. Manually convert various types of values into numbers, strings, or boolean values Number() There are two main types: one is that the parameter is t ...

Posted by richardwarren on Sat, 30 Oct 2021 23:34:40 -0700

[Pixhawk/PX4] development environment setup (Ubuntu 18.04) and problem summary

It mainly records the construction process and problem summary of PX4 environment under Ubuntu 18.04. Because gazebo is generally included in ros installation, gazebo installation is not introduced. 1, Basic resource download This is my first contact with the installation of ubuntu system, so some steps may be wrong or redundant. Please crit ...

Posted by ant peacocke on Sat, 30 Oct 2021 23:17:00 -0700

Synchronized brief introduction to "usage"

Two uses of Synchronized Object lock It includes method lock (the default lock object is this, that is, the current instance object) and synchronous code block lock (specify the lock object yourself) Class lock A Synchronized method that modifies a static or specifies a lock as a Class object Example No synchronization effect public clas ...

Posted by mike_y on Sat, 30 Oct 2021 23:11:35 -0700

Shadertoy Tutorial Part 2 - circles and animation

Note: This series blog was translated from Nathan Vaughn's Shaders Language Tutorial and has been authorized by the author. If reprinted or reposted, please be sure to mark the original link and description in the key position of the article after obtaining the author's consent as well as the translator's. If the article is helpful to you, clic ...

Posted by rutin on Sat, 30 Oct 2021 22:52:41 -0700

Ansible automatic operation and maintenance tool 9 (installation and use of ansible role)

1, Introduction to ansible role (1) Ansible roles is a hierarchical and structured organization Playbook. (2) roles is to place variables, files, tasks, modules and processors in separate directories and easily include them; (3) roles are generally used in the scenario of building services based on hosts, and are frequently used in complex ...

Posted by defx on Sat, 30 Oct 2021 22:35:25 -0700

Artificial intelligence learning

1, What is a decision tree Decision tree is a method of machine learning. The generation algorithms of decision tree include ID3, C4.5 and C5.0. Decision tree is a tree structure, in which each internal node represents a judgment on an attribute, each branch represents the output of a judgment result, and finally each leaf node represents ...

Posted by Boris Senker on Sat, 30 Oct 2021 22:33:25 -0700

Java - time complexity and space complexity

The time complexity and space complexity of common sorting algorithms are as follows: 1. Algorithm efficiency There are two kinds of algorithm efficiency analysis: The first is time efficiency and the second is space efficiency. Time efficiency is called time complexity, and space efficiency is called space complexity. Time complexity mainly ...

Posted by seavers on Sat, 30 Oct 2021 22:24:54 -0700

Explanation of IO,NIO and AIO of IO stream

catalogue1 IO,NIO,AIO1.1 basic concepts1.2 NIO details1.2.1 Buffer read / write data1.2.2 Buffer and clear methods1.2.3 Buffer parameters1.2.4 scattering & aggregation1.3 Java AIO1.4 use examples1.4.1 scattering aggregation1.4.2 comparison test of three I / O modes1.4.3 DirectBuffer VS ByteBuffer1.4.4 monitoring code for DirectBuffer1.4.5 A ...

Posted by GBS on Sat, 30 Oct 2021 22:23:32 -0700