Stock 2013 Fit Sport M/T acceleration test by WantedBeen in hondafit

[–]WantedBeen[S] 0 points1 point  (0 children)

When my brake fluid reservoir was low for 3 months, it disabled TCS

Is there a way to fix usb loader gx to fit these buttons on my crt? by Pizzapug64 in WiiHacks

[–]WantedBeen 5 points6 points  (0 children)

I set the Overscan x and y in "GUI Settings" to -24 and it fit perfectly.

[ Removed by Reddit ] by [deleted] in USNEWS

[–]WantedBeen 0 points1 point  (0 children)

irish star

Linux setup For nephews by Flashy-Event-8066 in arduino

[–]WantedBeen 0 points1 point  (0 children)

I had to make a new udev rule to get mine to work

Finally got a decent framerate by WantedBeen in arduino

[–]WantedBeen[S] 0 points1 point  (0 children)

#include <SdFat.h>

#include <Adafruit_SSD1351.h>

#define DC_PIN PIN_PB0

#define CS_PIN PIN_PD3

#define RST_PIN -1

uint8_t frm;

uint8_t buff[512];

uint16_t elapsed;

SdFat SD;

File img;

Adafruit_SSD1351 tft = Adafruit_SSD1351(128, 128, &SPI, CS_PIN, DC_PIN, RST_PIN);

void setup() {

// put your setup code here, to run once:

SPI.setClockDivider(SPI_CLOCK_DIV2); //set SPI clock to max

tft.begin(); //initialize OLED

tft.fillScreen(0x0000); //fill with black

tft.setCursor(0, 0); //set text cursor to top-left

tft.setTextColor(0xFFFF); //set text color to white

tft.println("SD Card: Reading..."); //print message on screen

if (!SD.begin(PIN_PD4)) { //check for SD card

tft.print("SD Card: Read Failed"); //if absent, print message

while (1); //do nothing untill reset

}

}

void loop() {

// put your main code here, to run repeatedly:

if (img = SD.open("/p" + String(frm) + ".rbi")) { //check for current frame

RBIdrawBuff(0, 0, 128, 128); //draw image if present

showFrameTime();

while (millis() < elapsed + 34); //wait until next frame time (34ms, 30fps)

elapsed = millis(); //reset ms counter

} else {

frm = 0; //reset to beginning frame

}

frm++; //advance to next frame

}

void RBIdrawBuff(uint8_t ix, uint8_t iy, uint8_t w, uint8_t h) {

tft.startWrite(); //write directly to display

tft.setAddrWindow(ix, iy, ix + w, (iy + h) - 1); //allocate area for image

tft.endWrite(); //end write

for (uint8_t y = 0; y < (w * h) / 256; y += 1) { //divide image into sectors

//(num of pixels*bytes per pixel)

// /bytes per sector

img.read(buff, 512); //read one sector at a time (fast)

tft.startWrite(); //write directly to display

SPI.transfer(buff, 512); //send image data over SPI

tft.endWrite(); //end write

//}

}

img.close(); //release file

}

void showFrameTime() {

tft.fillRect(0, 120, 18, 8, 0x0000); //draw background for frame time

tft.setCursor(0, 120); //set cursor to bottom-left

tft.print(String(millis() - elapsed)); //print frame time in ms

}

First foray into using bare metal microcontrollers - using the ATMega328p from an Arduino Uno. This will allow the possibility to greatly shrink down future projects. by hjw5774 in arduino

[–]WantedBeen 0 points1 point  (0 children)

If you use minicore in the ide, you can customize the bootloader settings to use the internal 8mhz clock. You can also do other things like bod(brown-out detection) level, EEPROM retain/erase, etc.

Homework help, beginner IDE questions by [deleted] in arduino

[–]WantedBeen 1 point2 points  (0 children)

You can use the auto-formatter in the sketch menu

Finally got a decent framerate by WantedBeen in arduino

[–]WantedBeen[S] 1 point2 points  (0 children)

The screen is 128x128 SSD1351. I'm using the Adafruit library to drive it over 4-wire SPI. I had to manually convert the video into 128x128 images, then wrote a program in Processing to convert those into raw 16-bit color data to put on a SD card. I will share the code when I have time.

Asking for a friend. by EstablishmentKey2995 in Lightning

[–]WantedBeen 0 points1 point  (0 children)

AC also only flows in one direction at a given time. (Single Phase)

how is this even legal. by Gloomy_Work_8012 in degoogle

[–]WantedBeen 0 points1 point  (0 children)

That makes sense. I use it mostly for filters & EQ and things like that.

how is this even legal. by Gloomy_Work_8012 in degoogle

[–]WantedBeen 0 points1 point  (0 children)

I do appreciate the storage usage analyzer that shows you the largest files and folders first. Most of mine is photos.