This commit is contained in:
		@@ -1,14 +1,10 @@
 | 
			
		||||
+++
 | 
			
		||||
# About widget.
 | 
			
		||||
widget = "about"  # See https://sourcethemes.com/academic/docs/page-builder/
 | 
			
		||||
headless = true  # This file represents a page section.
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 20  # Order that this section will appear in.
 | 
			
		||||
---
 | 
			
		||||
widget: "about"
 | 
			
		||||
headless: true
 | 
			
		||||
active: true  
 | 
			
		||||
weight: 20 
 | 
			
		||||
 | 
			
		||||
title = "Biography"
 | 
			
		||||
title: "Biography"
 | 
			
		||||
 | 
			
		||||
# Choose the user profile to display
 | 
			
		||||
# This should be the username of a profile in your `content/authors/` folder.
 | 
			
		||||
# See https://sourcethemes.com/academic/docs/get-started/#introduce-yourself
 | 
			
		||||
author = "admin"
 | 
			
		||||
+++
 | 
			
		||||
author: "admin"
 | 
			
		||||
---
 | 
			
		||||
 
 | 
			
		||||
@@ -1,20 +1,12 @@
 | 
			
		||||
+++
 | 
			
		||||
# Contact widget.
 | 
			
		||||
widget = "contact"  # See https://sourcethemes.com/academic/docs/page-builder/
 | 
			
		||||
headless = true  # This file represents a page section.
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 130  # Order that this section will appear.
 | 
			
		||||
---
 | 
			
		||||
widget: "contact"  
 | 
			
		||||
headless: true  
 | 
			
		||||
active: true  
 | 
			
		||||
weight: 130
 | 
			
		||||
 | 
			
		||||
title = "Contact"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
title: "Contact"
 | 
			
		||||
subtitle: "Ways to get hold of me"
 | 
			
		||||
 | 
			
		||||
# Automatically link email and phone?
 | 
			
		||||
autolink = true
 | 
			
		||||
 | 
			
		||||
# Email form provider
 | 
			
		||||
#   0: Disable email form
 | 
			
		||||
#   1: Netlify (requires that the site is hosted by Netlify)
 | 
			
		||||
#   2: formspree.io
 | 
			
		||||
email_form = 0
 | 
			
		||||
+++
 | 
			
		||||
autolink: true
 | 
			
		||||
---
 | 
			
		||||
Jens Christian Kallesøe True
 | 
			
		||||
@@ -1,65 +1,56 @@
 | 
			
		||||
+++
 | 
			
		||||
# Experience widget.
 | 
			
		||||
widget = "experience"  # See https://sourcethemes.com/academic/docs/page-builder/
 | 
			
		||||
headless = true  # This file represents a page section.
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 40  # Order that this section will appear.
 | 
			
		||||
---
 | 
			
		||||
widget: "experience"  # See https://sourcethemes.com/academic/docs/page-builder/
 | 
			
		||||
headless: true  # This file represents a page section.
 | 
			
		||||
active: true  # Activate this widget? true/false
 | 
			
		||||
weight: 40  # Order that this section will appear.
 | 
			
		||||
 | 
			
		||||
title = "Experience"
 | 
			
		||||
subtitle = "Work related"
 | 
			
		||||
[design]
 | 
			
		||||
  # Choose how many columns the section has. Valid values: 1 or 2.
 | 
			
		||||
  columns = "1"
 | 
			
		||||
title: "Experience"
 | 
			
		||||
subtitle: "Work and education related"
 | 
			
		||||
design:
 | 
			
		||||
  columns: 2
 | 
			
		||||
 | 
			
		||||
# Date format for experience
 | 
			
		||||
#   Refer to https://sourcethemes.com/academic/docs/customization/#date-format
 | 
			
		||||
date_format = "Jan 2006"
 | 
			
		||||
date_format: "Jan 2006"
 | 
			
		||||
 | 
			
		||||
# Experiences.
 | 
			
		||||
#   Add/remove as many `[[experience]]` blocks below as you like.
 | 
			
		||||
#   Required fields are `title`, `company`, and `date_start`.
 | 
			
		||||
#   Leave `date_end` empty if it's your current employer.
 | 
			
		||||
#   Begin/end multi-line descriptions with 3 quotes `"""`.
 | 
			
		||||
[[experience]]
 | 
			
		||||
  title = "Software Engineer"
 | 
			
		||||
  company = "Phillips-Medisize A/S"
 | 
			
		||||
  company_url = "https://www.phillipsmedisize.com/"
 | 
			
		||||
  location = "Struer, Denmark"
 | 
			
		||||
  date_start = "2019-06-17"
 | 
			
		||||
  date_end = ""
 | 
			
		||||
  description = """Software Engineer on medical devices 
 | 
			
		||||
  - Embedded programming, drivers and services C/C++
 | 
			
		||||
  - Control theory
 | 
			
		||||
  - Product development under QMS - ISO 13485"""
 | 
			
		||||
experience:
 | 
			
		||||
- title: "Software Engineer"
 | 
			
		||||
  company: "Phillips-Medisize A/S"
 | 
			
		||||
  company_url: "https://www.phillipsmedisize.com/"
 | 
			
		||||
  location: "Struer, Denmark"
 | 
			
		||||
  date_start: "2019-06-17"
 | 
			
		||||
  date_end: ""
 | 
			
		||||
  description: >
 | 
			
		||||
    Software Engineer on medical devices 
 | 
			
		||||
     - Embedded programming, drivers and services C/C++
 | 
			
		||||
     - Control theory
 | 
			
		||||
     - Product development under QMS - ISO 13485
 | 
			
		||||
 | 
			
		||||
[[experience]]
 | 
			
		||||
  title = "Bachelor in Electronic Engineering"
 | 
			
		||||
  company = "AU - Aarhus University"
 | 
			
		||||
  company_url = "https://bachelor.au.dk/elektronik-herning-diplomingenioer/"
 | 
			
		||||
  location = "Herning, Denmark"
 | 
			
		||||
  date_start = "2016-09-01"
 | 
			
		||||
  date_end = "2019-06-17"
 | 
			
		||||
  description = """Bachelor of Engineering - Electronics 
 | 
			
		||||
  - Software Development, Digital Design, Analog Electronics, Digital Signal Processing
 | 
			
		||||
  - Group semester projects
 | 
			
		||||
  - Elective classes
 | 
			
		||||
    - Advanced Digital Design
 | 
			
		||||
    - Advanced Software Development
 | 
			
		||||
    - IOT/Big Data
 | 
			
		||||
  - Bachelor project 
 | 
			
		||||
    - _Mocking hardware in software to facilitate automated testing of embedded devices_
 | 
			
		||||
  """
 | 
			
		||||
- title: "Bachelor in Electronic Engineering"
 | 
			
		||||
  company: "AU - Aarhus University"
 | 
			
		||||
  company_url: "https://bachelor.au.dk/elektronik-herning-diplomingenioer/"
 | 
			
		||||
  location: "Herning, Denmark"
 | 
			
		||||
  date_start: "2016-09-01"
 | 
			
		||||
  date_end: "2019-06-17"
 | 
			
		||||
  description: >
 | 
			
		||||
    Bachelor of Engineering - Electronics 
 | 
			
		||||
     - Software Development, Digital Design, Analog Electronics, Digital Signal Processing
 | 
			
		||||
     - Group semester projects
 | 
			
		||||
     - Elective classes
 | 
			
		||||
       - Advanced Digital Design
 | 
			
		||||
       - Advanced Software Development
 | 
			
		||||
       - IOT/Big Data
 | 
			
		||||
     - Bachelor project 
 | 
			
		||||
      - _Mocking hardware in software to facilitate automated testing of embedded devices_
 | 
			
		||||
 | 
			
		||||
[[experience]]
 | 
			
		||||
  title = "Development technician"
 | 
			
		||||
  company = "LEAX A/S"
 | 
			
		||||
  company_url = "http://leax.dk"
 | 
			
		||||
  location = "Lemvig, Denmark"
 | 
			
		||||
  date_start = "2010-01-01"
 | 
			
		||||
  date_end = "2019-01-01"
 | 
			
		||||
  description = """Development support technician. Primary employment focusing on development and supporting in development related tasks. 
 | 
			
		||||
  - Embedded software
 | 
			
		||||
  - Customer support and hardware servicing
 | 
			
		||||
  - Windows software and server applications."""
 | 
			
		||||
- title: "Development technician"
 | 
			
		||||
  company: "LEAX A/S"
 | 
			
		||||
  company_url: "http://leax.dk"
 | 
			
		||||
  location: "Lemvig, Denmark"
 | 
			
		||||
  date_start: "2010-01-01"
 | 
			
		||||
  date_end: "2019-01-01"
 | 
			
		||||
  description: >
 | 
			
		||||
    Development support technician. Primary employment focusing on development and supporting in development related tasks. 
 | 
			
		||||
    - Embedded software
 | 
			
		||||
    - Customer support and hardware servicing
 | 
			
		||||
    - Windows software and server applications.
 | 
			
		||||
 | 
			
		||||
+++
 | 
			
		||||
---
 | 
			
		||||
 
 | 
			
		||||
@@ -1,53 +1,39 @@
 | 
			
		||||
+++
 | 
			
		||||
# A Skills section created with the Featurette widget.
 | 
			
		||||
widget = "featurette"  # See https://sourcethemes.com/academic/docs/page-builder/
 | 
			
		||||
headless = true  # This file represents a page section.
 | 
			
		||||
active = true  # Activate this widget? true/false
 | 
			
		||||
weight = 30  # Order that this section will appear.
 | 
			
		||||
---
 | 
			
		||||
widget: "featurette"
 | 
			
		||||
headless: true 
 | 
			
		||||
active: true 
 | 
			
		||||
weight: 30  
 | 
			
		||||
 | 
			
		||||
title = "Skills"
 | 
			
		||||
subtitle = "Professional work areas and personal interests"
 | 
			
		||||
title: "Skills"
 | 
			
		||||
subtitle: "Professional work areas and personal interests"
 | 
			
		||||
feature:
 | 
			
		||||
- icon: "microchip"
 | 
			
		||||
  icon_pack: "fa"
 | 
			
		||||
  name: "C, C++, Assembly"
 | 
			
		||||
  description: "Embedded programming. AVR, ARM, PIC microcontrollers…"
 | 
			
		||||
 | 
			
		||||
# Showcase personal skills or business features.
 | 
			
		||||
# 
 | 
			
		||||
# Add/remove as many `[[feature]]` blocks below as you like.
 | 
			
		||||
# 
 | 
			
		||||
# For available icons, see: https://sourcethemes.com/academic/docs/widgets/#icons
 | 
			
		||||
- icon: "tools"
 | 
			
		||||
  icon_pack: "fa"
 | 
			
		||||
  name: "Development tools"
 | 
			
		||||
  description: "Static code analysis, CI/CD tools, Software modeling tools..."
 | 
			
		||||
 | 
			
		||||
[[feature]]
 | 
			
		||||
  icon = "microchip"
 | 
			
		||||
  icon_pack = "fa"
 | 
			
		||||
  name = "C, C++, Assembly"
 | 
			
		||||
  description = "Embedded programming. AVR, ARM, PIC microcontrollers…"
 | 
			
		||||
 | 
			
		||||
[[feature]]
 | 
			
		||||
  icon = "tools"
 | 
			
		||||
  icon_pack = "fa"
 | 
			
		||||
  name = "Development tools"
 | 
			
		||||
  description = "Static code analysis, CI/CD tools, Software modeling tools..."
 | 
			
		||||
 | 
			
		||||
[[feature]]
 | 
			
		||||
  icon = "server"
 | 
			
		||||
  icon_pack = "fa"
 | 
			
		||||
  name = "Linux"
 | 
			
		||||
  description = "Linux development for embedded systems and servers. Docker, RDBMs, package managers…"  
 | 
			
		||||
- icon: "server"
 | 
			
		||||
  icon_pack: "fa"
 | 
			
		||||
  name: "Linux"
 | 
			
		||||
  description: "Linux development for embedded systems and servers. Docker, RDBMs, package managers…"  
 | 
			
		||||
  
 | 
			
		||||
[[feature]]
 | 
			
		||||
  icon = "code"
 | 
			
		||||
  icon_pack = "fa"
 | 
			
		||||
  name = "Webdevelopment"
 | 
			
		||||
  description = "Webdevelopment. HTML/JS, PHP, SQL, NodeJS, WebSockets…"
 | 
			
		||||
- icon: "code"
 | 
			
		||||
  icon_pack: "fa"
 | 
			
		||||
  name: "Webdevelopment"
 | 
			
		||||
  description: "Webdevelopment. HTML/JS, PHP, SQL, NodeJS, WebSockets…"
 | 
			
		||||
 | 
			
		||||
[[feature]]
 | 
			
		||||
  icon = "cogs"
 | 
			
		||||
  icon_pack = "fa"
 | 
			
		||||
  name = "Control theory"
 | 
			
		||||
  description = "Design, Implementation, Simulation, MATLAB/SimuLink…"
 | 
			
		||||
- icon: "cogs"
 | 
			
		||||
  icon_pack: "fa"
 | 
			
		||||
  name: "Control theory"
 | 
			
		||||
  description: "Design, Implementation, Simulation, MATLAB/SimuLink…"
 | 
			
		||||
 | 
			
		||||
[[feature]]
 | 
			
		||||
  icon = "check"
 | 
			
		||||
  icon_pack = "fa"
 | 
			
		||||
  name = "Quality management"
 | 
			
		||||
  description = "Development under QMS, ISO 13485, 21 CFR 820 compliance..."
 | 
			
		||||
 | 
			
		||||
+++
 | 
			
		||||
- icon: "check"
 | 
			
		||||
  icon_pack: "fa"
 | 
			
		||||
  name: "Quality management"
 | 
			
		||||
  description: "Development under QMS, ISO 13485, 21 CFR 820 compliance..."
 | 
			
		||||
---
 | 
			
		||||
@@ -4,6 +4,7 @@ subtitle: "Tips and trick for embedded C/C++"
 | 
			
		||||
summary: "Tips and trick for embedded C/C++"
 | 
			
		||||
date: 2020-06-13T19:01:19+02:00
 | 
			
		||||
highlight: true
 | 
			
		||||
math: true
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
# Set a bit
 | 
			
		||||
@@ -53,12 +54,21 @@ output = input << 3; // Multiply by 8
 | 
			
		||||
output = (0b1 << X) -1;
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Minimum required bits
 | 
			
		||||
$$bits = { log(number) \over log(2) }$$
 | 
			
		||||
Since you can not use fractions of a bit the number should be rounded up.
 | 
			
		||||
 | 
			
		||||
# Miscellaneous
 | 
			
		||||
```c
 | 
			
		||||
// Check if number is ODD
 | 
			
		||||
if( (num & 1) == 1) {};
 | 
			
		||||
// Flip signed integer
 | 
			
		||||
num = ~num + 1;
 | 
			
		||||
// Power of two
 | 
			
		||||
// Is an integer a power of two?
 | 
			
		||||
num > 0 && (num & (num - 1)) == 0;
 | 
			
		||||
//Clear all bits from 0 to N
 | 
			
		||||
mask = ~((1 << n+1 ) - 1);
 | 
			
		||||
x &= mask;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
@@ -8,15 +8,8 @@ weight = 45 # Order that this section will appear.
 | 
			
		||||
title = "Race offical experience"
 | 
			
		||||
subtitle = ""
 | 
			
		||||
 | 
			
		||||
# Date format for experience
 | 
			
		||||
#   Refer to https://sourcethemes.com/academic/docs/customization/#date-format
 | 
			
		||||
date_format = "Jan 2006"
 | 
			
		||||
 | 
			
		||||
# Experiences.
 | 
			
		||||
#   Add/remove as many `[[experience]]` blocks below as you like.
 | 
			
		||||
#   Required fields are `title`, `company`, and `date_start`.
 | 
			
		||||
#   Leave `date_end` empty if it's your current employer.
 | 
			
		||||
#   Begin/end multi-line descriptions with 3 quotes `"""`.
 | 
			
		||||
[[experience]]
 | 
			
		||||
  title = "National Judge (NJ)"
 | 
			
		||||
  company = "Danish Sailing Association"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user