Homebrew [Release] 3DS RGB LED test program

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
so its safe¿?

Yes, I'm now speaking with yellows8, and I just tested his code, and it didn't brick my old3DS, so I guess it was just extremely bad luck

Edit: yes, you can power off :P and it'll even have a cool effect when you turn it back on :D
 
Last edited by Sono,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
can u do something like to do a special notification with a custom-choice led¿?

Well, this is an RGB LED, so it can display 2^24 possible colors, so you can program it as you want! You have 32 pattern slots for each color, and you can set smoothing and speed, so I guess it's good enough :P
 

Angelcraft

Well-Known Member
Member
Joined
Sep 8, 2015
Messages
536
Trophies
0
Age
29
XP
363
Country
Spain
Well, this is an RGB LED, so it can display 2^24 possible colors, so you can program it as you want! You have 32 pattern slots for each color, and you can set smoothing and speed, so I guess it's good enough :P
idk how i dont know programming Im learning :teach:
 
D

Deleted User

Guest
It doesnt for me; shutting and opening my o3DS xL doesnt clear it :P
EDIT: The fading in white is really funny; it paused when I put in my PIN :P
 
Last edited by ,

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
Country
Japan
Just compiled it to 3dsx. launched via Homebrew Launcher. this makes HBL Very cool! on the HBL will automatically close the program itself and blinking background! and keep blinking after you close the HBL.
 

Attachments

  • MCU.rar
    18.5 KB · Views: 223

Mikemk

Well-Known Member
Member
Joined
Mar 26, 2015
Messages
2,091
Trophies
1
Age
28
XP
3,130
Country
United States
In x86, there's a [kernel-level] cli instruction that'll disable interrupts. If there's an ARM equivalent, you could possibly use it to protect against bricks.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
Got a way to compile this?

Ye, use any makefile, and just put the sooscode in the soos folder :P

This wouldn't risk an I2C firmware wipeout? MCU brick is unrecoverable even with Hardmod.

I have mentioned countless times, this is safe!

It doesnt for me; shutting and opening my o3DS xL doesnt clear it :P
EDIT: The fading in white is really funny; it paused when I put in my PIN :P

It takes a little bit of time to enter sleep mode :P I said "exiting sleep mode" for a good reason :P

In x86, there's a [kernel-level] cli instruction that'll disable interrupts. If there's an ARM equivalent, you could possibly use it to protect against bricks.

iirc you are not allowed to disable interrupts, but it doesn't matter anyways because how the MCU communication works.

ARM11:
homebrew -> ptm:sysm -> mcu::RTC or mcu::HWC -> mcu sysmodule queue -> I2C -> MCU
ARM9:
I2C <--> MCU

as you can see, disabling interrupts would have no effect at all.
 

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,042
Country
Spain
I use this function to get an accurate rainbow pattern (it's made in lua, so you'll have to translate it to C)
Code:
red = math.modf(math.sin(0.00202683548*Timer.getTime(rnbw_timer) + 0) * 127 + 128)
green = math.modf(math.sin(0.00202683548*Timer.getTime(rnbw_timer) + 2.0943951) * 127 + 128)
blue = math.modf(math.sin(0.00202683548*Timer.getTime(rnbw_timer) + 4.1887902) * 127 + 128)
Note that rnbw_timer is a variable that goes from 0 to 3100.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    Walmart is an 60 mile round trip for me, and yes, I still spend less even after the gas cost. :) I dont go there just for milk. I do 2 big hauls a month, fill the cart up.
    +1
  • K3Nv2 @ K3Nv2:
    Gay Ride™ at a Walmart near you
    +1
  • Sicklyboy @ Sicklyboy:
    lol GBAtemp mentioned in the latest Bringus Studios video
  • NinStar @ NinStar:
    never heard of that developer
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, was my anti hate trolling shitbox messages recorded
  • AncientBoi @ AncientBoi:
    :O Holy Cow 60 Miles !
  • NinStar @ NinStar:
    why people use miles
  • K3Nv2 @ K3Nv2:
    At 60 miles I'd just use instacart
    +1
  • K3Nv2 @ K3Nv2:
    @NinStar, cause 8 miles and runnin
  • RedColoredStars @ RedColoredStars:
    LOL! I'd lmao if they put a gay ride in the little arcade section they have in this walmart. It could be like the horses rides you put quarters in, except it would be like the ambiguously gay duo cartoon & you sit on top of the other guy thats in a "flying" position. LMAO!
    +1
  • K3Nv2 @ K3Nv2:
    I'm pretty sure parents would have an issue with gay rides
    +1
  • RedColoredStars @ RedColoredStars:
    There is zero instacart delivery to here. No door dash. No Uber. Notta. Its a small farming community
    +1
  • Sicklyboy @ Sicklyboy:
    eagerly awaiting 4x 8TB HDDs to get delivered today
  • RedColoredStars @ RedColoredStars:
    So I drive the 30 miles there, spend $100-$150 on groceries, and drive back home. Still saved $$$ after gas over shopping locally.
    +1
  • K3Nv2 @ K3Nv2:
    You'd think you could make deals with local farmers
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: I could make a killing there doing instcart there :D @RedColoredStars
  • RedColoredStars @ RedColoredStars:
    It makes the trip even more worth it if I'm out of my medication and need to stop by the medical dispensary. I try to line the two up to avoid extra trips.
    +1
  • RedColoredStars @ RedColoredStars:
    @AncientBoi, Except the town is pretty MAGA infested. People still flying TRUMP 2016 flags all over. They didnt get the memo the year changed since then. lol.
    +1
  • RedColoredStars @ RedColoredStars:
    They passed a city ordinance last month. No smoking cannabis in public. Not even eating gummies. $300 fine and misdemeanor charge if caught. People can walk down the street smoking cigs and tossing the butts all over, but God forbit someone take a couple puffs of their medication.
    +1
  • RedColoredStars @ RedColoredStars:
    First off, it's recreationally legal here. Secondly, I have a prescription from my doctor and approved by the state. But still a fucking criminal.
    +1
  • RedColoredStars @ RedColoredStars:
    Like at bars. Cant sit outside even in the smoking section and take a few puffs. Yet I have to breath the cig smoke from 20 people chain smoking all night in every direction around me.
  • K3Nv2 @ K3Nv2:
    Honestly I feel like Trump is going to crush Biden just because of the trial
  • RedColoredStars @ RedColoredStars:
    They cite
    public health and safety concerns" LMAO!!! Yet they do nothing about the poison drinking water quality.
  • K3Nv2 @ K3Nv2:
    The look at how they treated me card is powerful within dumb voters
    K3Nv2 @ K3Nv2: The look at how they treated me card is powerful within dumb voters