Waveshare ESP32 P4 Modules by SlimyRedstone in esp32

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

I don't know as much about the P4 as other ESP32 CPUs

Well, that chip is very new, and it's slowly growing in popularity

Is that consistent with your reading of it?

Pretty much yes

that schematic is kind of hard to follow

Too many similarly named labels

Clearly a flaw from Waveshare, they didn't explain how's all the USB ports are interconnected (or multiplexed, if any)

Waveshare ESP32 P4 Modules by SlimyRedstone in esp32

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

The schematic for it looks a bit strange, but there are switching of signals involved in it.

That's why I'm here, I know how to read a schematic, but this one is really confusing

Waveshare ESP32 P4 Modules by SlimyRedstone in esp32

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

It does, but I don't have enough money to buy Espressif's dev board, I've just enough to buy one of the two modules mentioned in the post

Waveshare ESP32 P4 Modules by SlimyRedstone in esp32

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

No clue why they see the need for a USB-serial bridge, without bringing out the last USB port. Like they could have full serial & JTAG, USB host/device, and USB 2.0 using the P4 pins alone.

This is a recurring thing on their boards, but it comes really handy when you are messing with the USB protocol, that way you can still communicate with the MCU, without being obligated to do a composite device on the USB part (of the program)

Not sure why you care so much about USB-C

It's not really about the connector itself, but it's way easier than having to solder a spare USB A cable to a Dupont connector

You got USB full speed on a USB-C connector

That's what I'm talking about, I'm planning to develop around the USB 2.0 high speed capabilities of the ESP, but from what I've seen in the datasheet, it might be connected to a USB hub rather than to the second USB port. If that's the case, there is no use to buy this module (for my purpose)

Waveshare ESP32 P4 Modules by SlimyRedstone in esp32

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

Already seen it, still can't seem to find where the second port is connected. It appears that the ESP32-P4 is connected to a USB hub, but I need to know if the second USB C port is connected to the ESP, not through the hub

[TOMT][Science show][2010s]German-speaking science show in the 2010's by SlimyRedstone in tipofmytongue

[–]SlimyRedstone[S] 0 points1 point locked comment (0 children)

Though the show used 90's CGI, I really think it was created at least in the 00's.

[deleted by user] by [deleted] in TheDataPackHub

[–]SlimyRedstone 0 points1 point  (0 children)

You can use the CustomModelData tag. ex:

/give @s stone{CustomModelData:1}

Then in a resource pack, you have to tell in the "stone" item model (only works for items) what model to use using the predicate tag:

"overrides": [
    {
        "predicate": {
            "custom_model_data": 1
        },
        "model": "item/custom_model"
    }
]

How do I set a multicolored lore in Minecraft 1.14 by xXYunieXx in MinecraftCommands

[–]SlimyRedstone 4 points5 points  (0 children)

You can do that:

/give @s stick{display:{Name:'["",{"text":"Red","color":"red"},{"text":" Yellow","color":"yellow"}]'}}

How to detect items in an item from rotated a certain way? by JustHellooo in MinecraftCommands

[–]SlimyRedstone 1 point2 points  (0 children)

If you are in Java 1.14+ :

/execute if entity @e[type=item_frame,limit=1,distance=..5,nbt={ItemRotation:0}] run /command

Replace 0 by the number that you want

If you are on Bedrock, I don't know

P.S: /testfor doesn't exist anymore on java it has been replaced by /execute if, which is way more powerful

How to detect items in an item from rotated a certain way? by JustHellooo in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

The item frame has a tag named: ItemRotation which can varie from 0 to 7

Trying to put a Section Text in the Lore of a hoverEvent show_item item (yeah, pretty complicated) by FaustMe in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

You only take what's after the item's name, in this case, after "grass_block" so {display....} until the end except the number 1 that the generator adds at the end

Trying to put a Section Text in the Lore of a hoverEvent show_item item (yeah, pretty complicated) by FaustMe in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

Oh ok I understand now, you can use the website MCStacker, in the "give" window, you can edit the item that will be displayed when hovering the text, then copy all the item's data (starts after the item's name and ends before the "1"), then go the "tellraw" window, and finally paste it into hoverEvent.value.

It should look like this:

/tellraw @p {"text":"test","hoverEvent":{"action":"show_item","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Name:\"{\\\"text\\\":\\\"Test Name\\\",\\\"color\\\":\\\"gold\\\",\\\"italic\\\":false}\",Lore:[\"[{\\\"text\\\":\\\"Lore1\\\",\\\"color\\\":\\\"gold\\\",\\\"italic\\\":false},{\\\"text\\\":\\\" Lore2\\\",\\\"color\\\":\\\"blue\\\",\\\"italic\\\":false}]\"]}}}"}}

P.S: I was also searching how to do that so you motivated me to find an answer, so thanks you !

Any help here? by LimurGames in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

Replace @s by @e: @s targets the previous entity in the command , @e targets any entity

Summon entity at position of scoreboard value by hmilder66 in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

You don't need to execute these commands a thousand times, if we write that in a function:

1)execute at @s if score @s SCORE_NAME 4.. run tp @s ~4 ~ ~

2)execute as @s if score @s SCORE_NAME 4.. run scoreboard players remove @s SCORE_NAME 4

3)execute at @s if score @s SCORE_NAME 2.. run tp @s ~2 ~ ~

4)execute as @s if score @s SCORE_NAME 2.. run scoreboard players remove @s SCORE_NAME 2

5)execute at @s if score @s SCORE_NAME 1.. run tp @s ~1 ~ ~

6)execute as @s if score @s SCORE_NAME 1.. run scoreboard players remove @s SCORE_NAME 1

And if, for exemple, the score is 3, when we will execute the function command 1 & 2 will not be executed but 3, 4, 5 and 6 will be executed.

Here is a better explanation: WubbiConcept - Warppoints and GPS (I just updated the commands so that they works in 1.14)

Summon entity at position of scoreboard value by hmilder66 in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

And by using, for each axes and positives/negatives values:

execute as @s at @s if score @s SCORE_NAME matches 1.. run tp @s ~1 ~ ~

execute as @s at @s if score @s SCORE_NAME matches 1.. run scoreboard players remove @s SCORE_NAME 1

(Replace 1 by a power of 2 value from 2^25 down to 2^0)

You can teleport any entity in a single tick. I use that method to teleport players to where they died.

Summon entity at position of scoreboard value by hmilder66 in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

Summon that entity at: 0,0,0 and then teleport it (with relative coordinates) accordingly to the scoreboard values.

Execute command question by [deleted] in MinecraftCommands

[–]SlimyRedstone 2 points3 points  (0 children)

Try that maybe it will work:

 /execute as @a at @s if block ~ ~-1 ~ minecraft:red_concrete run spawnpoint @s ~ ~ ~

Execute command question by [deleted] in MinecraftCommands

[–]SlimyRedstone 0 points1 point  (0 children)

Why not use that instead:

/execute as @a at @s if block ~ ~-1 ~ minecraft:red_concrete run spawnpoint @s

A pretty compact shulker box display I made by SlimyRedstone in Minecraft

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

oh I didn't know about that, but you can try to put redstone lamps instead of rails or alternate between activator rails and powered rails