Code Monkey home page Code Monkey logo

fxterm-casio-prizm-fork's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

fxterm-casio-prizm-fork's Issues

Incorrect Text Appearing on fx-CG50

I have setup fxTerm to connect to my computer via an arduino connected with USB.
When I type in picocom, it appears on the calculator, but incorrectly.
For example, "Hello, World!" prints as "MHTH#oyy".
I have also tried raw hex, typing out but 0x01 to 0x12 came out with "?"}>i{=zy<xw;>", or something similar - I can't entirely read all the characters.

This may be to do with my setup, but I'm not sure what the issue would be if so.

Cannot compile due to ptrdiff_t being undefined

I have tried to make the project (Prizm/FXTERM), but it raises the following errors:

../../zlib/crc32.c: In function 'crc32_z':
../../zlib/crc32.c:215:34: error: 'ptrdiff_t' undeclared (first use in this function)
  215 |     if (sizeof(void *) == sizeof(ptrdiff_t)) {
      |                                  ^~~~~~~~~
../../zlib/crc32.c:183:1: note: 'ptrdiff_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
  182 | #include "crc32.h"
  +++ |+#include <stddef.h>
  183 | #endif /* DYNAMIC_CRC_TABLE */
../../zlib/crc32.c:215:34: note: each undeclared identifier is reported only once for each function it appears in
  215 |     if (sizeof(void *) == sizeof(ptrdiff_t)) {
      |                                  ^~~~~~~~~
../../zlib/crc32.c: In function 'crc32_little':
../../zlib/crc32.c:276:21: error: 'ptrdiff_t' undeclared (first use in this function)
  276 |     while (len && ((ptrdiff_t)buf & 3)) {
      |                     ^~~~~~~~~
../../zlib/crc32.c:276:21: note: 'ptrdiff_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../zlib/crc32.c:276:31: error: expected ')' before 'buf'
  276 |     while (len && ((ptrdiff_t)buf & 3)) {
      |                   ~           ^~~
      |                               )
../../zlib/crc32.c: In function 'crc32_big':
../../zlib/crc32.c:316:21: error: 'ptrdiff_t' undeclared (first use in this function)
  316 |     while (len && ((ptrdiff_t)buf & 3)) {
      |                     ^~~~~~~~~
../../zlib/crc32.c:316:21: note: 'ptrdiff_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../zlib/crc32.c:316:31: error: expected ')' before 'buf'
  316 |     while (len && ((ptrdiff_t)buf & 3)) {
      |                   ~           ^~~
      |                               )
make: *** [Makefile:25: ../../zlib/crc32.o] Error 1

I have tried including <stddef.h>, but this does nothing as the file does not define ptrdiff_t.

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.