Jump to content
Sign in to follow this  
Joao Parreira

Código para modulo RFID

Recommended Posts

Joao Parreira

Boa tarde

A linguagem é c++, arduino

Estou com dificuldade no desenvolvimento de um sketch para escrita numa tag de um cartao rfid https://create.arduino.cc/editor/LogMaker360/ac6be449-9893-4e30-9ce5-7733cfb8a7ef/preview.

Na linha 149

byte blockcontent[16] = {"SubScribe______"}; // array que tem a informaçao que vai ser gravada no cartao

Em vez de "SubsCribe____" existe alguma maneira de eu colocar ali uma variavel?

Mais ou menos assim

int data = 12**************

byte blockcontent[16] = {data}; //gravar no cartao o "12**************"

Eu sei que isto não funciona assim, será que me podiam ajudar

Edited by Joao Parreira

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.