New answers tagged

0

Esp32 has at least 4 MB of flash with probably at least 2MB free. How many qr codes do you want to store? How to store? Should be examples in micropython and Arduino. If you use the esp32, that makes the pic redundant and frees you from MikroC.


2

Under MPLABX IDE Release Notes is a complete list in Readme for MPLAB Snap.htm.


2

The weak pull-up/pull-down being referred to is internal to the device. Typically they are 50k-100k; actual value depends on the design and due to the manufacturing process may vary quite a bit. As stated, the weak pull-up/pull-down is simply there to prevent the pin from floating if it is not connected to anything. To set a configuration, one needs to ...


1

Probably yes. Note how C6, C7 and C8 are different values: they are meant to work as a group to provide a low impedance at different frequencies. I read the schematic as instructing you to place one group of three close to each pin (order them by capacitance with the smallest closest to the pin) Now, it's quite possible that in practice you can use a ...


1

MPASM and pic-as are using different file types: MPASM: *.asm files pic-as: *.s files Please remember, there are a lot more differences between these assembler types. See this document for the details.


1

It seems to be a bug in pic-as InitPortA(space)(space)---(space)MACRO made the syntax error happen. Replacing the white spaces with a press of the tab key made that line compile. It seems that not all white spaces are taken as the same thing This has become moot for me because I rolled back to v5.35 and mpasmx. I think it is better to finish my project ...


0

I am calling this the answer: Thanks to the help so far, I have made great progress. I got the new version of the assembler to assemble my code. It was via a bit of "tom foolery" so I will document for others. I installed the XC8 compiler and MPLABX-v5.40 (v5.5 didn't like my Java 1.8). I started a new project and told it to make a new assembly ...


1

The MPLAB IDE is to old to support the PIC16F15323, so you had to switch to MPLABX IDE. And here please remember: The Assembler MPASM is included in the MPLABX toolchain only when the version is below 5.4. If you want to work with the newest version (MPLAX 5.45) you had to install the xc8 compiler and to work with the assembler supplied with the compiler. ...


3

Maybe your MPLAB-X installation is corrupt or very old. You should be able to select the assembler where it asks you to select a compiler. As you can see, versions at least 4.01 and newer support the chip you have in mind, and 3.4 does not. You may have to install the free version of XC8 to get the assembler. I think at some point in the past they combined ...


1

The xor() must be inside the infinite loop. In particular inside the while (!PIR2bits.CCP2IF) loops. In all cases if you are not using interrupts it is useless to use the capture compare for an internal function.


0

The extra 3 phases is unusual, which makes this a harder selection task. However the microcontroller requirements for a suitable inverter are straightforward. You need a system that has 6 center-aligned PWM outputs, all sharing the same time-base, and preferably with complementary outputs. The time-base requirement is an absolute one for SVM, otherwise the ...


Top 50 recent answers are included