Example of NRF52 with OLED

Reference: https://www.waveshare.com/wiki/1.5inch_OLED_Module

#include <Arduino.h>
#include <Adafruit_NeoPixel.h>

#define LED_PIN 12
#define LED_COUNT 8

Adafruit_NeoPixel strip(LED_COUNT, LED_PIN);

void setup() {
  Serial.begin(115200);

  strip.begin();
  strip.show();
}
void loop() {
  strip.clear();
  strip.setPixelColor(1,0,0,255);
  strip.show();
  delay(1000);
  strip.clear();
  strip.setPixelColor(6,0,0,255);
  strip.show();
  delay(1000);
}
en/iot-open/practical/hardware/rtu/robotnest/oled.txt · Last modified: 2025/07/30 09:33 by kivilands6
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0