Skip to content

Instantly share code, notes, and snippets.

View ogoes's full-sized avatar
:octocat:
Coding

Otávio Goes ogoes

:octocat:
Coding
View GitHub Profile
@ogoes
ogoes / markdown
Last active March 7, 2024 17:44
Ferris Sweep
Configuração básica do ferris sweep - [Github](https://github.com/davidphilipbarr/Sweep/tree/main). [gerber file](https://github.com/davidphilipbarr/Sweep/blob/main/Sweep%20half-swept/half-swept_gerber.zip)
Essa variante permitiu que eu mandasse somente uma "placa" para ser produzida, reduzindo assim o custo. Para fazer o *pcb* eu usei os serviços da [JLCPCB](https://jlcpcb.com/)
## Componentes
- [Pro Micro - USB-C](https://pt.aliexpress.com/item/1005005979247388.html?spm=a2g0o.home.0.0.25901c91QeagfC&mp=1&gatewayAdapt=glo2bra)
- [TRRS Jack](https://pt.aliexpress.com/item/33029465106.html?spm=a2g0o.order_list.order_list_main.20.1b84caa4AjqZXA&gatewayAdapt=glo2bra)
- [Key-caps](https://pt.aliexpress.com/item/1005005121196711.html?spm=a2g0o.order_list.order_list_main.35.1b84caa4AjqZXA&gatewayAdapt=glo2bra)
- [Switches](https://pt.aliexpress.com/item/1005005446722280.html?spm=a2g0o.order_list.order_list_main.30.1b84caa4AjqZXA&gatewayAdapt=glo2bra)
- [TRRS cable](https://pt.aliexpress.com/item/1005005443450619
@ogoes
ogoes / server.kt
Last active September 3, 2019 01:19
Exemplo de Socket em Kotlin (Server)
import interfaces.IO
import client.entities.Client
import java.io.InputStream
import java.io.OutputStream
import java.net.ServerSocket
import java.net.Socket
import java.nio.charset.Charset
import java.util.*