Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Pipfile.lock
/node_modules/

site/.vitepress/dist/*
site/.vitepress/cache/*
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM node:12-alpine
WORKDIR /usr/src
FROM node:22-alpine
WORKDIR /app
RUN apk add --no-cache git
RUN yarn global add vitepress babel-loader
10 changes: 4 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
version: "3"

networks:
lan:

services:
pinguino-cc:
build: .
container_name: pinguino-cc
working_dir: /usr/src
command: ["yarn", "start"]
working_dir: /app
command: ["yarn", "start", "--host", "0.0.0.0", "--port", "5173"]
networks:
- lan
ports:
- "8080:8080"
- "5173:5173"
volumes:
- ./:/usr/src/
- ./:/app
2 changes: 1 addition & 1 deletion site/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in your house.
Pinguino IDE is cross-platform, it run on Linux, Windows and Mac OS X. With this IDE,
you can write, compile and upload code to your board.

[Download and install it](/download/) to start.
[Download and install it](/getting-started/download) to start.
Read more about [Pinguino IDE v13](/pinguino-ide-v13/) to learn.

## Pinguino boards
Expand Down
10 changes: 7 additions & 3 deletions site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ features:
### 1. Get de IDE

[Download and install](/getting-started/download) the Pinguino IDE in your computer. Don't known
how to use it? Check the [Pinguino IDE v13 user manual](/pinguino-ide-v13).
how to use it? Check the [Pinguino IDE v13 user manual](/pinguino-ide-v13/index.md).

### 2. Write and compile

Expand All @@ -52,7 +52,7 @@ void loop() {
}
```

Pinguino boards are programmed using the [Pinguino language](/language-reference), that in turn,
Pinguino boards are programmed using the [Pinguino language](/language-reference/), that in turn,
is based on Wiring and Processing Languages.

### 3. Upload
Expand All @@ -61,6 +61,10 @@ Connect the board to your PC and upload the code. Enjoy!

## :loudspeaker: Announcements

::: tip Oct 2025
* Thanks to [@erickisos](https://github.com/erickisos) for migrate this site to VitePress.
:::

::: tip May 2022
* Fixed support for SSD1306 I2C OLED on PIC18Fx550. Thanks to [@PaoloDooM](https://github.com/PaoloDooM) for your [Pull Request #26](https://github.com/PinguinoIDE/pinguino-libraries/pull/26).
* We've submitted a talk proposal for [The Linux Foundation Open Source Summit Latin America Conference](https://events.linuxfoundation.org/open-source-summit-latin-america/) ! Cross your finger...
Expand All @@ -73,7 +77,7 @@ Connect the board to your PC and upload the code. Enjoy!
::: tip April 2021
* Added a new [Wiring Base](/language-reference/wiring-base) Language Reference page. Thanks to [@swhomans](https://github.com/swhomans) for the contribution.
* Updated the [8-bit Pinguino Boards](/pinguino-boards/supported-boards-8) page.
* A new [v2.0-beta.2](/download/) Pinguino installer for GNU/Linux has been released ! Thanks to [@iz3gme](https://github.com/iz3gme) for the contribution.
* A new [v2.0-beta.2](/getting-started/download) Pinguino installer for GNU/Linux has been released ! Thanks to [@iz3gme](https://github.com/iz3gme) for the contribution.
* New [pt-BR](/pt/) language translation for this website. Thanks to [@luzemario](https://github.com/luzemario) for their contribution.
* Added a new [/pinguino-boards/buy](/pinguino-boards/buy) page. If you want to see your Pinguino Board in this page for sell, contact us.
* We have a new [Community page](https://github.com/PinguinoIDE/pinguinoide.github.io/discussions) !
Expand Down
6 changes: 3 additions & 3 deletions site/language-reference/wiring-base.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ else digitalWrite(0,LOW); // else reset pin 0 LOW

IDE defined 'pins' that can read an analog value depend on the device.
Typically, if one pin is used as analog input, all remaining analog pins are configured as analog inputs.
See [Pinguino Boards page](/pinguino-boards) for details of pin mapping.
See [Pinguino Boards page](/pinguino-boards/) for details of pin mapping.
NB - exceeding an input voltage of 5v (P8) or 3.3v (P32) is likely to destroy the device.

### Relates
Expand Down Expand Up @@ -265,7 +265,7 @@ void loop()
### Notes

The parameter `pin` refers to the IDE defined 'pin', which typically differs from the device physical pin.
See [Pinguino Boards page](/pinguino-boards) for details of pin mapping.
See [Pinguino Boards page](/pinguino-boards/) for details of pin mapping.
The relevant pin should be configured as input using `pinMode()`.

### Relates
Expand Down Expand Up @@ -315,7 +315,7 @@ void loop() {
### Notes

The parameter `pin` refers to the IDE defined 'pin', which typically differs from the device physical pin.
See [Pinguino Boards page](/pinguino-boards) for details of pin mapping.
See [Pinguino Boards page](/pinguino-boards/) for details of pin mapping.
The parameter `LOW` sets the pin nominally to 0 volts (P8 and P32). The parameter `HIGH` sets the pin nominally to 5 volts (P8) or 3.3 volts (P32).

### Relates
Expand Down
2 changes: 1 addition & 1 deletion site/pt/boards/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

::: tip
Essa seção é sobre a construção de uma placa. Se você quiser **comprar uma placa**, por favor vá para
[getting-started/02-boards page](/getting-started/02-pinguino-boards).
[getting-started/02-boards page](/pinguino-boards/).
:::

O diagrama, formato físico e tamanho de uma placa pode variar e depende de como cada pessoa a desenhou,
Expand Down
6 changes: 3 additions & 3 deletions site/pt/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ na sua casa.
O IDE do Pinguino é cross-platform, ele roda em Linux, Windows e Mac OS X. Com esse IDE,
você pode escrever, compilar e carregar código na sua placa.

[Baixe e instale](/download/) para começar.
Leia mais sobre [Pinguino IDE v13](/getting-started/01-pinguino-ide) para aprender.
[Baixe e instale](/getting-started/download.md) para começar.
Leia mais sobre [Pinguino IDE v13](/pinguino-ide-v13/) para aprender.

## Placas Pinguino

As placas Pinguino são uma platafroma de prototipagem eletrônica de hardware aberto, que podem ser
[compradas](/getting-started/02-pinguino-boards), ou [feitas por conta pŕopria (DIY)](/boards).
[compradas](/pinguino-boards/buy.md), ou [feitas por conta pŕopria (DIY)](/pinguino-boards/DIY.md).

O Pinguino vem com um USB Bootloader também. Esse pequeno programa rodando dentro do microcontrolador
é responsável por transferir sua aplicação do PC para a memória do microcontrolador
Expand Down
2 changes: 1 addition & 1 deletion site/pt/news/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Esperamos que esteja pronta em breve!

*25/11/2020*

Já está disponível a versão em Protuguês do Brasil deste site. [Ver agora!](/pt_BR/)
Já está disponível a versão em Protuguês do Brasil deste site. [Ver agora!](/pt/)
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
#
pipenv run docker-compose up -d
docker compose up -d
2 changes: 1 addition & 1 deletion stop
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
#
pipenv run docker-compose stop
docker compose stop