{"product_id":"joystickpaneel-voor-m5-face-esp32-ontwikkelingsset-x-y-as-drukknop-schakelaar-met-rgb-led-balk-en-mega328-insi_1537970","title":"Joystickpaneel voor M5 Face ESP32 ontwikkelingsset met X\/Y-as drukknop en RGB LED-balk","description":"\u003ch2 id=\"description\"\u003e\u003cspan style=\"font-size:16px\"\u003eBeschrijving:\u003c\/span\u003e\u003c\/h2\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003eJoystick\u003c\/span\u003eis een besturingsmodule die werkt als een invoerapparaat. Het bestaat uit een stok die draait op een basis en de hoek of richting rapporteert aan het apparaat dat hij bestuurt. Dit product is compatibel met de FACE Kit en kan het toetsenbordpaneel in de FACE-kit vervangen. Via IIC kunt u de offset-gegevens (X, Y) en de status van de knop verkrijgen. Het LED-gedrag kan naar wens worden aangepast.\u003c\/p\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont,\"\u003eHet IIC-adres van de joystick is 0x5E.\u003c\/p\u003e\u003ch2 id=\"product-features\"\u003e\u003cspan style=\"font-size:16px\"\u003eProducteigenschappen:\u003c\/span\u003e\u003c\/h2\u003e\u003cul style=\"font-size: 16px;margin: 1em 0px;padding-left: 1.5rem;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\n\u003cli style=\"font-size: inherit\"\u003e12 RGB LED's\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eIIC-communicatie\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eEenvoudige API voor programmeren\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eProductgrootte: 58,2 mm x 54,2 mm x 10 mm\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eProductgewicht: 30 g\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2 id=\"function\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eFunctie:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003eControle van RGB LED's\u003c\/span\u003e\u003c\/p\u003e\u003cpre data-lang=\"\" style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);line-height: var(--code-block-line-height);margin: var(--code-block-margin);overflow: hidden;color: var(--code-theme-text);background: var(--code-theme-background);position: relative;padding: 0px;border-radius: var(--code-block-border-radius)\"\u003e\u003ccode class=\"lang-\" style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);color: var(--code-theme-text);font-weight: var(--code-font-weight);line-height: var(--code-block-line-height);display: block;overflow: auto;padding: var(--code-block-padding)\"\u003e*      Parameter:          indexOfLED: 0 ~ 11          r, g, b: 0 ~ 254  *\/  void Led(int indexOfLED, int r, int g, int b){    Wire.beginTransmission(FACE_JOY_ADDR);    Wire.write(indexOfLED);    Wire.write(r);    Wire.write(g);    Wire.write(b);    Wire.endTransmission();  }\u003c\/code\u003e\u003c\/pre\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003eLees de offset van elke richting\u003c\/span\u003e\u003c\/p\u003e\u003cpre data-lang=\"\" style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);line-height: var(--code-block-line-height);margin: var(--code-block-margin);overflow: hidden;color: var(--code-theme-text);background: var(--code-theme-background);position: relative;padding: 0px;border-radius: var(--code-block-border-radius)\"\u003e\u003ccode class=\"lang-\" style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);color: var(--code-theme-text);font-weight: var(--code-font-weight);line-height: var(--code-block-line-height);display: block;overflow: auto;padding: var(--code-block-padding)\"\u003evoid get_joystick_offset(void){    Wire.requestFrom(FACE_JOY_ADDR, 5);    if (Wire.available()) {        y_data_L = Wire.read();      y_data_H = Wire.read();      x_data_L = Wire.read();      x_data_H = Wire.read();        button_data = Wire.read();\/\/ Z(0: niet ingedrukt 1: ingedrukt)  }\u003c\/code\u003e\u003c\/pre\u003e\u003ch2 id=\"include\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003ePakket inbegrepen:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cul style=\"font-size: 16px;margin: 1em 0px;padding-left: 1.5rem;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\n\u003cli style=\"font-size: inherit\"\u003e1x joystick modulebord\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003e1x joystickbalk\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2 id=\"related-link\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eGerelateerde link:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cul style=\"font-size: 16px;margin: 1em 0px;padding-left: 1.5rem;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\n\u003cli style=\"font-size: inherit\"\u003e\u003cp style=\"font-size: inherit;margin: 1em 0px\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder\"\u003e\u003ca href=\"https:\/\/www.youtube.com\/channel\/UCozgFVglWYQXbvTmGyS739w\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003eOfficiële video\u003c\/span\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003e\u003cp style=\"font-size: inherit;margin: 1em 0px\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder\"\u003e\u003ca href=\"http:\/\/forum.m5stack.com\/\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003eForum\u003c\/span\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003e\u003cp style=\"font-size: inherit;margin: 1em 0px\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder\"\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5-ProductExampleCodes\/tree\/master\/Module\/JOYSTICK\/firmware_328p\/FaceJoystick328\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003eFirmware voor MEGA328\u003c\/span\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2 id=\"easyloader\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eEasyLoader\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003ca href=\"https:\/\/m5stack.oss-cn-shenzhen.aliyuncs.com\/EasyLoader\/Module\/EasyLoader_FACES_joystick.exe\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\"\u003e\u003cbutton class=\"btn btn-primary\" style=\"font-size: 1rem;font-family: inherit;margin: 0px;border-radius: 0.25rem;line-height: 1.5;overflow: visible;vertical-align: middle;border-width: 1px;border-style: solid;padding: 0.375rem 0.75rem;cursor: pointer\" type=\"button\"\u003eKlik om EasyLoader te downloaden\u003c\/button\u003e\u003c\/a\u003e\u003c\/p\u003e\u003cblockquote style=\"font-size: 16px;margin: 2em 0px;overflow: visible;padding: 1.5em;border-width: var(--blockquote-border-width, 0);border-style: var(--blockquote-border-style);border-color: var(--blockquote-border-color);border-radius: var(--blockquote-border-radius);background: var(--blockquote-background);font-family: -apple-system, BlinkMacSystemFont,\"\u003e\n\u003cbr\u003e\u003cp style=\"font-size: inherit;margin: 0px\"\u003e2. Dubbelklik na het downloaden van de software om de toepassing uit te voeren, sluit het apparaat aan op de computer via de gegevenskabel, selecteer de poortparameters en klik op\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003e\"Brandwond\"\u003c\/span\u003eom te beginnen met branden.\u003cbr\u003e\u003cbr\u003e3. De CP210X (USB-stuurprogramma) moet worden geïnstalleerd voordat de EasyLoader wordt gebrand.\u003cstrong\u003e\u003ca href=\"https:\/\/docs.m5stack.com\/#\/en\/related_documents\/establish_serial_connection\" style=\"background-color: transparent;font-size: inherit;border-bottom: var(--link-border-bottom)\"\u003e\u003cspan style=\"color:#ff0000\"\u003eKlik hier voor de installatiehandleiding van het stuurprogramma\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003ch2 id=\"example\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eVoorbeeld:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\n\u003ch3 id=\"-ide\" style=\"font-size: var(--heading-h3-font-size);margin-top: 1rem;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eIDE\u003c\/span\u003e\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont,\"\u003e\u003cem style=\"font-size: inherit\"\u003eVoor de volledige code, zie\u003ccode style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);color: var(--code-inline-color, currentColor);font-weight: var(--code-font-weight);line-height: inherit;margin: var(--code-inline-margin);padding: var(--code-inline-padding);border-radius: var(--code-inline-border-radius);background: var(--code-inline-background)\"\u003efaces_joystick.ino\u003c\/code\u003e. Klik\u003cstrong\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5-ProductExampleCodes\/tree\/master\/Module\/JOYSTICK\/\/faces_joystick\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003ehier\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e\u003c\/em\u003e\u003c\/p\u003e\n\u003c\/blockquote\u003e\n\u003cdiv class=\"product-inline-gallery\"\u003e\n\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/90574a41-14fb-4a1f-9304-fbf30eca7394_bf360a3b-4a52-40d3-b64f-c520841575f6.jpg?v=1779847691\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/6250b739-6e2c-44e6-9946-8ae592fa9e5e_21b97c1c-9c7b-45b1-b4ce-87f79efa2b6f.jpg?v=1779847691\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/30e39485-92bf-4b11-9966-26aa8207b65f_b80f387c-8440-458e-94e7-c512a08e24f3.jpg?v=1779847691\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/e03727a2-50a3-4c9c-a445-fb237c18de08_357b0abd-e290-4c43-94ce-db4696336099.jpg?v=1779847692\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/bb035bc7-46e6-45ed-bb59-cc9f5d57a1d7_7e353076-aef9-413c-a4c6-fd96202a24fe.jpg?v=1779847691\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/10c37c88-274e-4a54-9232-2c660f772a00_d96977d8-b07a-4cdd-ba38-d25c328119aa.jpg?v=1779870175\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/3efd62f8-ff91-4b9e-984c-ee2fb0e71016_a1bd1a1a-bcfb-4e68-881f-47aba9da956b.jpg?v=1779870176\" loading=\"lazy\" alt=\"\"\u003e\n\u003c\/div\u003e","brand":"AllesXL","offers":[{"title":"Standaard","offer_id":53072615735632,"sku":"ALXNL7639193682087","price":29.49,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/90574a41-14fb-4a1f-9304-fbf30eca7394_bf360a3b-4a52-40d3-b64f-c520841575f6.jpg?v=1779847691","url":"https:\/\/allesxl.com\/products\/joystickpaneel-voor-m5-face-esp32-ontwikkelingsset-x-y-as-drukknop-schakelaar-met-rgb-led-balk-en-mega328-insi_1537970","provider":"allesxl","version":"1.0","type":"link"}