Coder Social home page Coder Social logo

esp32-cardreader's People

Contributors

sucareto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esp32-cardreader's Issues

请教个问题...

sdvx 加入启动参数-apiserial COM1 -apiserialbaud 115200
为什么一直显示监听COM/115200
打开端口COM1/115200
关闭端口COM1/115200
是哪里设置不对吗?
开关已经调整sw1

[2023/04/03 02:20:51] I:api::serial: listening on COM1/115200
[2023/04/03 02:20:51] W:api::serial: read error on COM1
[2023/04/03 02:20:51] I:lcdhandle: closed COM1
[2023/04/03 02:20:52] I:lcdhandle: opened COM1
[2023/04/03 02:20:52] I:api::serial: listening on COM1/115200
[2023/04/03 02:20:52] W:api::serial: read error on COM1
[2023/04/03 02:20:52] I:lcdhandle: closed COM1
[2023/04/03 02:20:53] I:lcdhandle: opened COM1
[2023/04/03 02:20:53] I:api::serial: listening on COM1/115200
[2023/04/03 02:20:53] W:api::serial: read error on COM1
[2023/04/03 02:20:53] I:lcdhandle: closed COM1

fatal error: ArduinoJson.h: No such file or directory #include "ArduinoJson.h"

In file included from C:\Users\Administrator\Desktop\ESP32-CardReader\Aime_Reader.h:57,
from C:\Users\Administrator\Desktop\ESP32-CardReader\ESP32-CardReader.ino:1:
C:\Users\Administrator\Desktop\ESP32-CardReader\src\wrappers.h:9:10: fatal error: ArduinoJson.h: No such file or directory
#include "ArduinoJson.h"
^~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: ArduinoJson.h: No such file or directory

emm... I think it's a very strange mistake, and I'm not sure when he'll show up

This image was taken normally but without the main program open.
P40116-215137
This image was taken with the main program open normally.
P40116-215314
The exception I'm talking about is showing only what the red arrow points to (my drawing is a little abstract, but it looks something like this).
P20240116221055
It's worth noting that I'm also not sure when this error occurred.

找不到<PN532_SPI.h>

编译时ide提示
In file included from E:\Ekac\ESP32-CardReader\ESP32-CardReader.ino:1:
E:\Ekac\ESP32-CardReader\Aime_Reader.h:45:10: fatal error: PN532_SPI.h: No such file or directory
#include <PN532_SPI.h>
^~~~~~~~~~~~~
compilation terminated.

请教一些小问题

我会在这里留下一些使用中的小问题,其他人也可以在这留言

BUG反馈

image
Aime 模式这边写错了。
“ON:使用 38400 波特率初始化,固件版本是 TN32MSEC003S
OFF:使用 115200 波特率初始化,固件版本是 837-15396”
这里ON和OFF正好写反了

编译时出现错误

您好,在看了您的示例后,觉得非常有趣,自己也希望做出一个。但是在上传代码时出现以下错误,实在是搞不懂了,希望大佬赐教。

编译过程输出如下:

Arduino:1.8.19 (Windows 10), 开发板:"NodeMCU-32S, 80MHz, 921600, None"


I:\ArduinoIDE\ESP32-CardReader-main\ESP32-CardReader\ESP32-CardReader.ino:2:17: note: #pragma message: 当前的开发板是 NodeMCU_32S

 #pragma message "当前的开发板是 NodeMCU_32S"

                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I:\ArduinoIDE\ESP32-CardReader-main\ESP32-CardReader\ESP32-CardReader.ino:12:17: note: #pragma message: 已启用OTA更新

 #pragma message "已启用OTA更新"

                 ^~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\Japerz\Documents\Arduino\libraries\FastLED\src/FastLED.h:67,

                 from I:\ArduinoIDE\ESP32-CardReader-main\ESP32-CardReader\Aime-Reader.h:8,

                 from I:\ArduinoIDE\ESP32-CardReader-main\ESP32-CardReader\ESP32-CardReader.ino:24:

C:\Users\Japerz\Documents\Arduino\libraries\FastLED\src/fastspi.h:145:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output

 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"

                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:2:

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.h:23:5: error: 'boolean' does not name a type; did you mean 'bool'?

     boolean isReady();

     ^~~~~~~

     bool

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp: In member function 'virtual int8_t PN532_SPI::writeCommand(const uint8_t*, uint8_t, const uint8_t*, uint8_t)':

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:48:13: error: 'isReady' was not declared in this scope

     while (!isReady()) {

             ^~~~~~~

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:48:13: note: suggested alternative: 'eReady'

     while (!isReady()) {

             ^~~~~~~

             eReady

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp: In member function 'virtual int16_t PN532_SPI::readResponse(uint8_t*, uint8_t, uint16_t)':

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:66:13: error: 'isReady' was not declared in this scope

     while (!isReady()) {

             ^~~~~~~

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:66:13: note: suggested alternative: 'eReady'

     while (!isReady()) {

             ^~~~~~~

             eReady

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp: At global scope:

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:142:9: error: no declaration matches 'boolean PN532_SPI::isReady()'

 boolean PN532_SPI::isReady()

         ^~~~~~~~~

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:142:9: note: no functions named 'boolean PN532_SPI::isReady()'

In file included from I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.cpp:2:

I:\ArduinoIDE\Arduino\libraries\PN532_SPI\PN532_SPI.h:8:7: note: 'class PN532_SPI' defined here

 class PN532_SPI : public PN532Interface {

       ^~~~~~~~~

"WiFi.h" 对应多个库

 已使用: C:\Users\Japerz\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi

 未使用:I:\ArduinoIDE\Arduino\libraries\WiFi

exit status 1

为开发板 NodeMCU-32S 编译时出错。



非常感谢!

不能正常使用

大佬很抱歉又来打扰你了!

这两天定做的PCB到了,全部都装在一起之后PN532亮灯,SSD1306显示一个断开连接的图标,HIGH,和左下角的TN32MSEC003S。
在这之前已经上传TEST试过了,读卡时可以在串口监视器里看到数据,但是使用这个项目里的就不太行(
测试了其他的功能,比如OTA Update都没问题。
测试的游戏有Chunithm New Plus和SDVX EG S2,中二的话是已经在segatools.ini里的aime项添加了enable=0。有使用 amdaemon ,config_common.json 内找不到 aime 项。中二的自检startup页显示找不到读卡器设备。
SDVX是确实还没搞清楚怎么用,如果大佬知道还请多指教.jpg
COM设置的是1,high_baudrate为high。驱动已确定安装。
丢卡上去SSD1306不显示任何东西,那俩插头始终是断开状态(无论我有没有连接到电脑上)

非常抱歉问这么多问题,希望可以帮帮2333

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.