{"id":3157,"date":"2026-09-23T10:42:26","date_gmt":"2026-09-23T08:42:26","guid":{"rendered":"http:\/\/www.xbb.se\/sv_se\/xbb-code\/"},"modified":"2026-09-23T10:42:26","modified_gmt":"2026-09-23T08:42:26","slug":"xbb-code","status":"publish","type":"page","link":"https:\/\/www.xbb.se\/en\/xbb-code\/","title":{"rendered":"XBB Code"},"content":{"rendered":"<p><a href=\"https:\/\/www.xbb-code.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">XBB Code<\/a> is our web platform for those who want to write their own recipes for the XBB system. You work directly in the browser, without installing anything, and sign in with the same account as in the XBB Configurator app.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What you can do<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Write, compile and save your own recipes for XBB Dongle\u00ae and PP-CAN-FD\u00ae.<\/li>\n\n\n\n<li>Start from a blank page, from a template, or copy a ready-made recipe for your car model and adapt it.<\/li>\n\n\n\n<li>Share your recipes with other XBB users.<\/li>\n\n\n\n<li>Load the finished recipe into your unit via XBB Configurator.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">The TSharkRex\u00ae language<\/h3>\n\n\n\n<p>Recipes are written in TSharkRex\u00ae, a programming language based on IEC 61131-3 Structured Text that compiles to firmware for the unit's processor. The language gives you access to CAN communication, timers, edge detection, outputs with PWM, settings shown in the app, and hardware functions such as supply voltage, accelerometer and analogue input. The full language reference with examples is available at <a href=\"https:\/\/www.xbb-code.com\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener\">xbb-code.com\/docs<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Getting started<\/h3>\n\n\n\n<p>The account is created in the XBB Configurator app, available on the App Store and Google Play. Then sign in at <a href=\"https:\/\/www.xbb-code.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">xbb-code.com<\/a> with the same details.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.xbb-code.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go to xbb-code.com<\/a><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>XBB Code \u00e4r v\u00e5r webbplattform f\u00f6r dig som vill skriva egna recept till XBB-systemet. Du arbetar direkt i webbl\u00e4saren, utan att installera n\u00e5got, och loggar in med samma konto som i appen XBB Configurator. Vad du kan g\u00f6ra Spr\u00e5ket TSharkRex\u00ae Recepten skrivs i TSharkRex\u00ae, ett programmeringsspr\u00e5k som bygger p\u00e5 IEC 61131-3 Structured Text och kompileras [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-3157","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages\/3157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/comments?post=3157"}],"version-history":[{"count":0,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages\/3157\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/media?parent=3157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/categories?post=3157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/tags?post=3157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}