summaryrefslogtreecommitdiffstats
path: root/keyboards/mlego/m48/readme.md
blob: c48cec9c8ac13a1e23cff1cb1caf2bcb3dff703e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# M48

![M48](https://i.imgur.com/QLuCAlWh.jpg)

A  (12x4) ortholinear keyboard that can be hand wired or using a pcb.

* Keyboard Maintainer: [Alin Elena](https://github.com/alinelena) ([@drFaustroll on GitLab](https://gitlab.com/drFaustroll))
* Hardware Supported: custom pcb [see](https://gitlab.com/m-lego/m48) STM32F401 from we act (rev1)
* Hardware Availability: [custom how to](https://gitlab.com/m-lego/m65)


Make example for this keyboard (after setting up your build environment):

    make mlego/m48/rev1:default

Flashing example for this keyboard:

    make mlego/m48/rev1:default

To enter flashing mode, press Lower+Raise+1 or Lower+Raise+0 also on microcontroller keep pressed BOOT0 and then NRST, release NRST and then after 0.5s or so  release BOOT0.

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).


## Pins for rev1 stm32f401

the same for stm32f411

| Rows  | C0    | C1    | C2    | C3    | C4    | C5    | C6    | C7    | C8    | C9    | C10   | C11   | Pins  |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| R0    | Tab   | q     | w     | e     | r     | t     | y     | u     | i     | o     | p     | BSpace|   A6  |
| R1    | Esc   | a     | s     | d     | f     | g     | h     | j     | k     | l     | ;     | '     |   A7  |
| R2    | Shift | z     | x     | c     | v     | b     | n     | m     | ,     | .     | /     | Enter |   B0  |
| R3    | Ctrl  | Menu  | Alt   | Fn    | Lower | Space | Space | Raise | Left  | Down  | Up    | Right |  B10  |
| Pins  | A10   | A15   | B3    | B4    | B5    | B7    | B6    | A1    | A2    | A3    | A4    |  A5   |       |

### Encoders:

  - Pad_A: A0
  - Pad_B: B8

### Leds

| Leds        | Pin |
| ----------- | --- |
| NUM_LOCK    | B12 |
| CAPS_LOCK   | C13 |
| SCROLL_LOCK | B13 |
| RBG_DI      | B15 |